Skip to content

Commit

Permalink
Use Chrome for Feature Specs (Except on Travis)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevallano committed Mar 5, 2017
1 parent 71e9540 commit f7f1619
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/rails_helper.rb
Expand Up @@ -29,6 +29,14 @@
end
end

unless ENV['TRAVIS']
Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end

Capybara.javascript_driver = :chrome
end

RSpec.configure do |config|
config.include Devise::TestHelpers, type: :controller
config.include Warden::Test::Helpers
Expand Down

0 comments on commit f7f1619

Please sign in to comment.