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