Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

assert_no_match

  • Loading branch information...
commit cd00e3b89d80ef569a3f7b3f8ba321051db3e3fd 1 parent 7748327
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/application/assets_test.rb
View
2  railties/test/application/assets_test.rb
@@ -148,7 +148,7 @@ class ::PostsController < ActionController::Base ; end
# the debug_assets params isn't used if allow_debugging is off
get '/posts?debug_assets=true'
assert_match /<script src="\/assets\/application-([0-z]+)\.js" type="text\/javascript"><\/script>/, last_response.body
- assert_not_match /<script src="\/assets\/xmlhr-([0-z]+)\.js" type="text\/javascript"><\/script>/, last_response.body
+ assert_no_match /<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
Please sign in to comment.
Something went wrong with that request. Please try again.