Skip to content

Commit

Permalink
rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Jun 12, 2019
1 parent 1527e88 commit ff5b2d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/capybara/selenium/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def browser
end
end
processed_options = options.reject { |key, _val| SPECIAL_OPTIONS.include?(key) }

@browser = Selenium::WebDriver.for(options[:browser], processed_options)

specialize_driver
Expand Down
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/driver_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

Capybara::SpecHelper.spec 'Driver' do
context "freeze_page", requires: %i[freeze js] do
context 'freeze_page', requires: %i[freeze js] do
it 'can pause a page' do
@session.visit('/with_js')
@session.find(:css, '#clickable').click
Expand Down

0 comments on commit ff5b2d8

Please sign in to comment.