Permalink
Browse files

Improve out-of-box experience with System tests including chromedrive…

…r-helper by default
  • Loading branch information...
guilleiguaran committed Oct 18, 2017
1 parent cd92d2e commit 62a38d8407355f468d2a9a3c6d0ab5d6914cd00a
@@ -43,6 +43,8 @@ group :development, :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
@@ -412,6 +412,7 @@ def test_generator_if_skip_test_is_given
assert_file "Gemfile" do |content|
assert_no_match(/capybara/, content)
assert_no_match(/selenium-webdriver/, content)
assert_no_match(/chromedriver-helper/, content)
end
assert_no_directory("test")
@@ -422,6 +423,7 @@ def test_generator_if_skip_system_test_is_given
assert_file "Gemfile" do |content|
assert_no_match(/capybara/, content)
assert_no_match(/selenium-webdriver/, content)
assert_no_match(/chromedriver-helper/, content)
end
assert_directory("test")

0 comments on commit 62a38d8

Please sign in to comment.