Flowdock
method

validate_option

Importance_0
v6.0.0 - 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 673
      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.