Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods
- Defined in:
- lib/action_dispatch/testing/integration.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
714 715 716 717 718 719 720 |
# File 'lib/action_dispatch/testing/integration.rb', line 714 def app if defined?(@@app) && @@app @@app else ActionDispatch.test_app end end |
#app=(app) ⇒ Object
722 723 724 |
# File 'lib/action_dispatch/testing/integration.rb', line 722 def app=(app) @@app = app end |
#register_encoder(*args) ⇒ Object
726 727 728 |
# File 'lib/action_dispatch/testing/integration.rb', line 726 def register_encoder(*args) RequestEncoder.register_encoder(*args) end |