mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #2699 from guilleiguaran/fix-asset-debugging-test-1.8
Fix failing asset debug test under 1.8
This commit is contained in:
commit
e3a020a679
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ module ApplicationTests
|
|||
# the debug_assets params isn't used if allow_debugging is off
|
||||
get '/posts?debug_assets=true'
|
||||
assert_match %r{<script src="/assets/application-([0-z]+)\.js" type="text/javascript"></script>}, last_response.body
|
||||
assert_not_match %r{<script src="/assets/xmlhr-([0-z]+)\.js" type="text/javascript"></script>}, last_response.body
|
||||
assert_no_match %r{<script src="/assets/xmlhr-([0-z]+)\.js" type="text/javascript"></script>}, last_response.body
|
||||
end
|
||||
|
||||
test "assets aren't concatened when allow_debugging is on and debug_assets params is true" do
|
||||
|
|
Loading…
Reference in a new issue