Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods
- Defined in:
- lib/action_dispatch/testing/integration.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
622 623 624 625 626 627 628 |
# File 'lib/action_dispatch/testing/integration.rb', line 622 def app if defined?(@@app) && @@app @@app else ActionDispatch.test_app end end |
#app=(app) ⇒ Object
630 631 632 |
# File 'lib/action_dispatch/testing/integration.rb', line 630 def app=(app) @@app = app end |
#register_encoder(*args) ⇒ Object
634 635 636 |
# File 'lib/action_dispatch/testing/integration.rb', line 634 def register_encoder(*args) RequestEncoder.register_encoder(*args) end |