Permalink
Browse files

Merge pull request #2699 from guilleiguaran/fix-asset-debugging-test-1.8

Fix failing asset debug test under 1.8
  • Loading branch information...
tenderlove committed Aug 26, 2011
2 parents 42a7979 + a071c9b commit e3a020a679acc732c0e57ada597c3c4043b96aa1
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/asset_debugging_test.rb
@@ -40,7 +40,7 @@ def teardown
# 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

0 comments on commit e3a020a

Please sign in to comment.