method

validate_option

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: TestHelper
validate_option(only: nil, except: nil) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/test_helper.rb, line 701
      def validate_option(only: nil, except: nil)
        raise ArgumentError, "Cannot specify both `:only` and `:except` options." if only && except
      end
Register or log in to add new notes.