aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/test/application/middleware/static_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/middleware/static_test.rb b/railties/test/application/middleware/static_test.rb
index 0a793f8f60..82ee1b8360 100644
--- a/railties/test/application/middleware/static_test.rb
+++ b/railties/test/application/middleware/static_test.rb
@@ -3,7 +3,7 @@ require 'isolation/abstract_unit'
require 'rack/test'
module ApplicationTests
- class MiddlewareStaticTest < ActiveSupport::TestCase
+ class MiddlewareStaticTest < Test::Unit::TestCase
include ActiveSupport::Testing::Isolation
include Rack::Test::Methods
@@ -25,7 +25,7 @@ module ApplicationTests
get 'foo'
- assert_not last_response.headers.has_key?('Cache-Control'), "Cache-Control should not be set"
+ assert !last_response.headers.has_key?('Cache-Control'), "Cache-Control should not be set"
end
end
end