Permalink
Browse files

Don't include jquery-rails in Gemfile

  • Loading branch information...
1 parent e2e8698 commit 8379f9738348b791208968f5bde3976bc723c439 @dpowell dpowell committed Apr 22, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −2 lib/rails-api/templates/rails/app/Gemfile
  2. +1 −0 test/generators/app_generator_test.rb
@@ -9,8 +9,6 @@ gem 'rails-api'
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
<%= "gem 'json'\n" if RUBY_VERSION < "1.9.2" -%>
-<%= javascript_gemfile_entry %>
-
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
@@ -18,6 +18,7 @@ def test_api_modified_files
assert_file "Gemfile" do |content|
assert_match(/gem 'rails-api'/, content)
assert_no_match(/gem 'coffee-rails'/, content)
+ assert_no_match(/gem 'jquery-rails'/, content)
assert_no_match(/gem 'sass-rails'/, content)
end
assert_file "app/controllers/application_controller.rb", /ActionController::API/

0 comments on commit 8379f97

Please sign in to comment.