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 625

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 633

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

Instance Method Details

#register_encoder(*args)

[ GitHub ]

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

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