Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods
- Defined in:
- lib/action_dispatch/testing/integration.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
665 666 667 668 669 670 671 |
# File 'lib/action_dispatch/testing/integration.rb', line 665 def app if defined?(@@app) && @@app @@app else ActionDispatch.test_app end end |
#app=(app) ⇒ Object
673 674 675 |
# File 'lib/action_dispatch/testing/integration.rb', line 673 def app=(app) @@app = app end |
#register_encoder(*args, **options) ⇒ Object
677 678 679 |
# File 'lib/action_dispatch/testing/integration.rb', line 677 def register_encoder(*args, **) RequestEncoder.register_encoder(*args, **) end |