1. 24 12月, 2008 1 次提交
  2. 23 12月, 2008 1 次提交
  3. 20 12月, 2008 2 次提交
  4. 19 12月, 2008 1 次提交
  5. 17 12月, 2008 1 次提交
    • J
      Decorate responses from Rack Middleware and Rails Metal for the purposes of... · 97a178bf
      Jesse Newland 提交于
      Decorate responses from Rack Middleware and Rails Metal for the purposes of integration testing. A test for the following Metal:
      
          class Poller < Rails::Rack::Metal
            def call(env)
              if env["PATH_INFO"] =~ /^\/poller/
                [200, {"Content-Type" => "text/plain"}, "Hello World!"]
              else
                super
              end
            end
          end
      
      might be tested like so:
      
        class PollerTest < ActionController::IntegrationTest
          test "poller returns hello world" do
            get "/poller"
            assert_response 200
            assert_response :success
            assert_response :ok
            assert_equal "Hello World!", response.body
          end
        end
      
      [#1588 state:committed]
      Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
      97a178bf
  6. 16 12月, 2008 2 次提交
  7. 11 12月, 2008 1 次提交
  8. 09 12月, 2008 1 次提交
  9. 05 12月, 2008 1 次提交
    • J
      Boot out CGI Processor. · 9c9da6c8
      Joshua Peek 提交于
      * Add ActionController::CGIHandler as a backwards compatible CGI wrapper around Rack.
      * Also pull failsafe responder into ActionController::Failsafe middleware.
      9c9da6c8
  10. 27 11月, 2008 1 次提交
  11. 24 11月, 2008 1 次提交
  12. 08 11月, 2008 1 次提交
  13. 04 10月, 2008 1 次提交
  14. 01 9月, 2008 1 次提交
  15. 21 8月, 2008 1 次提交
  16. 20 8月, 2008 1 次提交
  17. 29 7月, 2008 1 次提交
  18. 28 7月, 2008 1 次提交
  19. 16 7月, 2008 1 次提交
  20. 14 6月, 2008 1 次提交
  21. 25 5月, 2008 1 次提交
  22. 20 5月, 2008 1 次提交
  23. 01 4月, 2008 1 次提交
  24. 03 3月, 2008 1 次提交
  25. 23 12月, 2007 1 次提交
  26. 17 12月, 2007 2 次提交
  27. 20 11月, 2007 1 次提交
  28. 17 11月, 2007 1 次提交
  29. 01 11月, 2007 1 次提交
  30. 28 10月, 2007 1 次提交
  31. 17 10月, 2007 1 次提交
  32. 13 10月, 2007 2 次提交
  33. 03 10月, 2007 1 次提交
  34. 02 10月, 2007 1 次提交
  35. 28 9月, 2007 1 次提交
  36. 10 9月, 2007 1 次提交