Permalink
Browse files

Merge pull request #31300 from aried3r/ar/move_test_dependencies_to_t…

…est_group

Move system test dependencies to test group
  • Loading branch information...
eileencodes committed Nov 30, 2017
2 parents f7e3c68 + eb9ff5f commit cf0a942a40da2065f26a929e1d0f4df25329e768
Showing with 10 additions and 7 deletions.
  1. +10 −7 railties/lib/rails/generators/rails/app/templates/Gemfile.tt
@@ -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
@@ -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

0 comments on commit cf0a942

Please sign in to comment.