Browse files

Fix jquery-as-default test to account for switch from gem to github s…

…ource in #9904
  • Loading branch information...
1 parent 32ec8eb commit 3b2a2419469d7116d30f46fa801abe1b29d7dc24 @jeremy jeremy committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/app_generator_test.rb
View
2 railties/test/generators/app_generator_test.rb
@@ -276,7 +276,7 @@ def test_jquery_is_the_default_javascript_library
assert_match %r{^//= require jquery}, contents
assert_match %r{^//= require jquery_ujs}, contents
end
- assert_gem "jquery-rails"
+ assert_file "Gemfile", /^gem 'jquery-rails'/
end
def test_other_javascript_libraries

0 comments on commit 3b2a241

Please sign in to comment.