module ActionDispatch::IntegrationTest::Behavior::ClassMethods
Public instance methods
Source code GitHub
# File actionpack/lib/action_dispatch/testing/integration.rb, line 664
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 672
def app=(app)
@@app = app
end
Source code GitHub
# File actionpack/lib/action_dispatch/testing/integration.rb, line 676
def register_encoder(*args, **options)
RequestEncoder.register_encoder(*args, **options)
end