mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix tests.
Since b6ab441772
the single quotes are
being escaped in the templates.
This commit is contained in:
parent
4028bed812
commit
d87524773d
1 changed files with 2 additions and 2 deletions
|
@ -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'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't precompiled/, last_response.body)
|
||||
end
|
||||
|
||||
test "precompile properly refers files referenced with asset_path and and run in the provided RAILS_ENV" do
|
||||
|
|
Loading…
Reference in a new issue