Skip to Content Skip to Search

module ActionDispatch::IntegrationTest::Behavior::ClassMethods

Public instance methods

Source code GitHub
# File actionpack/lib/action_dispatch/testing/integration.rb, line 676
def app
  if defined?(@@app) && @@app
    @@app
  else
    ActionDispatch.test_app
  end
end
Source code GitHub
# File actionpack/lib/action_dispatch/testing/integration.rb, line 684
def app=(app)
  @@app = app
end
Source code GitHub
# File actionpack/lib/action_dispatch/testing/integration.rb, line 688
def register_encoder(*args, **options)
  RequestEncoder.register_encoder(*args, **options)
end

Definition files