aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-03-27 22:31:42 +0200
committerXavier Noria <fxn@hashref.com>2011-03-27 22:31:42 +0200
commit84aab7aa53e0ec4430df89807aa8220353b2d0c9 (patch)
treedb42126a143d373a06790d94689bdfb99af859a9
parent2c0c4d754e34b13379dfc53121a970c25fab5dae (diff)
downloadrails-84aab7aa53e0ec4430df89807aa8220353b2d0c9.tar.gz
rails-84aab7aa53e0ec4430df89807aa8220353b2d0c9.tar.bz2
rails-84aab7aa53e0ec4430df89807aa8220353b2d0c9.zip
s/with/when/
-rw-r--r--railties/test/application/middleware_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/middleware_test.rb b/railties/test/application/middleware_test.rb
index 0df6f33e8c..01e6c49d9c 100644
--- a/railties/test/application/middleware_test.rb
+++ b/railties/test/application/middleware_test.rb
@@ -52,7 +52,7 @@ module ApplicationTests
assert_equal "Rack::Cache", middleware.first
end
- test "Rack::SSL is present with force_ssl is set" do
+ test "Rack::SSL is present when force_ssl is set" do
add_to_config "config.force_ssl = true"
boot!
assert middleware.include?("Rack::SSL")