Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ource in #9904
  • Loading branch information...
commit 3b2a2419469d7116d30f46fa801abe1b29d7dc24 1 parent 32ec8eb
@jeremy jeremy authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.