Skip to content
This repository
Browse code

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

Fix failing asset debug test under 1.8
  • Loading branch information...
commit e3a020a679acc732c0e57ada597c3c4043b96aa1 2 parents 42a7979 + a071c9b
Aaron Patterson authored August 25, 2011
2  railties/test/application/asset_debugging_test.rb
@@ -40,7 +40,7 @@ def teardown
40 40
       # the debug_assets params isn't used if allow_debugging is off
41 41
       get '/posts?debug_assets=true'
42 42
       assert_match %r{<script src="/assets/application-([0-z]+)\.js" type="text/javascript"></script>}, last_response.body
43  
-      assert_not_match %r{<script src="/assets/xmlhr-([0-z]+)\.js" type="text/javascript"></script>}, last_response.body
  43
+      assert_no_match %r{<script src="/assets/xmlhr-([0-z]+)\.js" type="text/javascript"></script>}, last_response.body
44 44
     end
45 45
 
46 46
     test "assets aren't concatened when allow_debugging is on and debug_assets params is true" do

0 notes on commit e3a020a

Please sign in to comment.
Something went wrong with that request. Please try again.