Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods

Defined in:
lib/action_dispatch/testing/integration.rb

Instance Method Summary collapse

Instance Method Details

#appObject



761
762
763
# File 'lib/action_dispatch/testing/integration.rb', line 761

def app
  defined?(@@app) ? @@app : ActionDispatch.test_app
end

#app=(app) ⇒ Object



765
766
767
# File 'lib/action_dispatch/testing/integration.rb', line 765

def app=(app)
  @@app = app
end

#register_encoder(*args) ⇒ Object



769
770
771
# File 'lib/action_dispatch/testing/integration.rb', line 769

def register_encoder(*args)
  Integration::Session::RequestEncoder.register_encoder(*args)
end