Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods
- Defined in:
- lib/action_dispatch/testing/integration.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
676 677 678 679 680 681 682 |
# File 'lib/action_dispatch/testing/integration.rb', line 676 def app if defined?(@@app) && @@app @@app else ActionDispatch.test_app end end |
#app=(app) ⇒ Object
684 685 686 |
# File 'lib/action_dispatch/testing/integration.rb', line 684 def app=(app) @@app = app end |
#register_encoder(*args, **options) ⇒ Object
688 689 690 |
# File 'lib/action_dispatch/testing/integration.rb', line 688 def register_encoder(*args, **) RequestEncoder.register_encoder(*args, **) end |