Rails System Tests

group :test do
  gem "capybara"
  gem "selenium-webdriver"
  gem "webdrivers"
end

RSpec.configure do |config|
  config.before(:each, type: :system) do
    driven_by :rack_test
  end

  config.before(:each, type: :system, js: true) do
    driven_by :selenium_chrome
  end
end