Flowdock

ActionController::TestCase will be deprecated and moved to a gem in the future. Please use ActionDispatch::IntegrationTest going forward.

Constants

ENCODER = Class.new do include Rack::Test::Utils def should_multipart?(params) # FIXME: lifted from Rack-Test. We should push this separation upstream. multipart = false query = lambda { |value| case value when Array value.each(&query) when Hash value.values.each(&query) when Rack::Test::UploadedFile multipart = true end } params.values.each(&query) multipart end public :build_multipart def content_type "multipart/form-data; boundary=#{Rack::Test::MULTIPART_BOUNDARY}" end end.new

DEFAULT_ENV = ActionDispatch::TestRequest::DEFAULT_ENV.dup

Attributes

[R] controller_class
Show files where this class is defined (1 file)
Register or log in to add new notes.