class IntegrationRequestsWithoutSetup
to work in contexts like rspec before(:all)
Public Instance Methods
test_request()
click to toggle source
# File actionpack/test/controller/integration_test.rb, line 916 def test_request with_routing do |routes| routes.draw do ActiveSupport::Deprecation.silence do get ":action" => FooController end end get "/ok" assert_response 200 assert_equal "ok", response.body assert_equal "ok", cookies["key"] end end