Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods
- Defined in:
- lib/action_dispatch/testing/integration.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
646 647 648 649 650 651 652 |
# File 'lib/action_dispatch/testing/integration.rb', line 646 def app if defined?(@@app) && @@app @@app else ActionDispatch.test_app end end |
#app=(app) ⇒ Object
654 655 656 |
# File 'lib/action_dispatch/testing/integration.rb', line 654 def app=(app) @@app = app end |
#register_encoder(*args, **options) ⇒ Object
658 659 660 |
# File 'lib/action_dispatch/testing/integration.rb', line 658 def register_encoder(*args, **) RequestEncoder.register_encoder(*args, **) end |