Skip to content

Commit

Permalink
linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Mar 7, 2017
1 parent 060a4fe commit 094d3cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ node_package/webpack.config.js
**/generated/**
**/app/assets/javascripts/application.js
**/coverage/**
**/cable.js
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ gem "rspec-rails"
gem "rspec-retry"
gem "capybara"
gem "capybara-screenshot"
gem "capybara-webkit"
# Trouble installing on Sierra
# gem "capybara-webkit"
gem "chromedriver-helper"
gem "launchy"
gem "poltergeist"
Expand Down
7 changes: 4 additions & 3 deletions spec/dummy/spec/support/capybara_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ def set_driver_header(key, value)
case Capybara.javascript_driver
when :poltergeist, :poltergeist_errors_ok
page.driver.headers = { key => value }
when :webkit
page.driver.header(key, value)
# else no possibe action for selenium
# Skip webkit for now due to install trouble on Sierra
# when :webkit
# page.driver.header(key, value)
# # else no possibe action for selenium
end
end
end

0 comments on commit 094d3cb

Please sign in to comment.