123456789_123456789_123456789_123456789_123456789_

Module: ActionDispatch::IntegrationTest::Behavior::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/action_dispatch/testing/integration.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#app (rw)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/testing/integration.rb', line 676

def app
  if defined?(@@app) && @@app
    @@app
  else
    ActionDispatch.test_app
  end
end

#app=(app) (rw)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/testing/integration.rb', line 684

def app=(app)
  @@app = app
end

Instance Method Details

#register_encoder(*args, **options)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/testing/integration.rb', line 688

def register_encoder(*args, **options)
  RequestEncoder.register_encoder(*args, **options)
end