aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-02 16:04:49 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-02 16:04:49 -0300
commitd87524773d165ccd7292e61c4ee21be87f2b0703 (patch)
treef6ea315a9ad338446694d2750cab88ea732e62c5 /railties
parent4028bed8128f3d4eac2a55e85a504f1143944eae (diff)
downloadrails-d87524773d165ccd7292e61c4ee21be87f2b0703.tar.gz
rails-d87524773d165ccd7292e61c4ee21be87f2b0703.tar.bz2
rails-d87524773d165ccd7292e61c4ee21be87f2b0703.zip
Fix tests.
Since b6ab4417720e03f1551abda2f1e4bd0a392dd04e the single quotes are being escaped in the templates.
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/assets_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb
index 4243a79b58..dd3af86b99 100644
--- a/railties/test/application/assets_test.rb
+++ b/railties/test/application/assets_test.rb
@@ -233,7 +233,7 @@ module ApplicationTests
get '/posts'
assert_match(/AssetNotPrecompiledError/, last_response.body)
- assert_match(/app.js isn't precompiled/, last_response.body)
+ assert_match(/app.js isn&#x27;t precompiled/, last_response.body)
end
test "assets raise AssetNotPrecompiledError when manifest file is present and requested file isn't precompiled if digest is disabled" do
@@ -257,7 +257,7 @@ module ApplicationTests
get '/posts'
assert_match(/AssetNotPrecompiledError/, last_response.body)
- assert_match(/app.js isn't precompiled/, last_response.body)
+ assert_match(/app.js isn&#x27;t precompiled/, last_response.body)
end
test "precompile properly refers files referenced with asset_path and and run in the provided RAILS_ENV" do