Skip to content

Commit

Permalink
Merge pull request #31300 from aried3r/ar/move_test_dependencies_to_t…
Browse files Browse the repository at this point in the history
…est_group

Move system test dependencies to test group
  • Loading branch information
eileencodes committed Nov 30, 2017
2 parents f7e3c68 + eb9ff5f commit cf0a942
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions railties/lib/rails/generators/rails/app/templates/Gemfile.tt
Expand Up @@ -41,13 +41,6 @@ gem 'bootsnap', '>= 1.1.0', require: false
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
<%- if depends_on_system_test? -%>
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '~> 2.15'
gem 'selenium-webdriver'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'
<%- end -%>
end

group :development do
Expand All @@ -70,6 +63,16 @@ group :development do
<% end -%>
<% end -%>
end

<%- if depends_on_system_test? -%>
group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '~> 2.15'
gem 'selenium-webdriver'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'
end
<%- end -%>
<% end -%>

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down

0 comments on commit cf0a942

Please sign in to comment.