aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2014-08-05 12:40:54 -0400
committerArthur Neves <arthurnn@gmail.com>2014-08-05 12:40:54 -0400
commita7060a6e21cb6a6f501fef2a585df9ccda886863 (patch)
treefc1f6944c9859e54d7d7d2f2f72acb7297016a75 /railties/test/application
parent82f6061fbea9bc93c2c254040c53889c33e232c0 (diff)
downloadrails-a7060a6e21cb6a6f501fef2a585df9ccda886863.tar.gz
rails-a7060a6e21cb6a6f501fef2a585df9ccda886863.tar.bz2
rails-a7060a6e21cb6a6f501fef2a585df9ccda886863.zip
Fix digest ETAG test.
After https://github.com/rack/rack/commit/12528d4567d8e6c1c7e9422fee6cd8b43c4389bf ETag will include a `W/` before the digest.
Diffstat (limited to 'railties/test/application')
-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 1557b90d27..9b5ce9a8c8 100644
--- a/railties/test/application/middleware_test.rb
+++ b/railties/test/application/middleware_test.rb
@@ -188,7 +188,7 @@ module ApplicationTests
end
end
- etag = "5af83e3196bf99f440f31f2e1a6c9afe".inspect
+ etag = "W/" + ("5af83e3196bf99f440f31f2e1a6c9afe".inspect)
get "/"
assert_equal 200, last_response.status