Skip to content

Commit

Permalink
add required gems for the asset pipeline to work
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Jul 25, 2016
1 parent fd06033 commit 393d202
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions features/choose_javascript_database_strategy.feature
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Feature: Choose javascript database strategy
2 scenarios (2 passed)
5 steps (5 passed)
"""

Scenario: Set the strategy to truncation with an except option and run a javascript scenario.
Given I append to "features/env.rb" with:
"""
Expand Down
5 changes: 5 additions & 0 deletions features/no_database.feature
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ Feature: No Database
gem "cucumber-rails", :group => :test, :path => "../../.."
gem "capybara", :group => :test
gem "rspec-rails", :group => :test
if RUBY_VERSION >= '2.0.0'
gem 'sass-rails'
gem 'uglifier'
gem 'jquery-rails'
end
"""
And I write to "app/controllers/posts_controller.rb" with:
"""
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_5_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem "rspec-rails", "~> 3.5.0"
gem "sass-rails", "~> 5.0"
gem "coffee-rails", "~> 4.2.0"
gem "jquery-rails"
gem "uglifier", "~> 2.1.0"
gem "uglifier", "~> 2.7.2"
gem "sqlite3", "~> 1.3.7"
gem "database_cleaner", "~> 1.0.1"

Expand Down

0 comments on commit 393d202

Please sign in to comment.