Skip to content

Commit 5d5a6eb

Browse files
committed
remove monkey patch and see what fails
1 parent 2cae43e commit 5d5a6eb

File tree

4 files changed

+1
-57
lines changed

4 files changed

+1
-57
lines changed

examples/ruby/.rubocop_todo.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
AllCops:
1010
Exclude:
11-
- 'lib/monkey_patch.rb'
1211
- 'spec/virtual_authenticator/virtual_authenticator_spec.rb'
1312
- 'spec/hello/hello_selenium_spec.rb'
1413
- 'spec/getting_started/open_browser_spec.rb'

examples/ruby/lib/monkey_patch.rb

Lines changed: 0 additions & 54 deletions
This file was deleted.

examples/ruby/spec/browsers/chrome_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ def chrome_location
165165

166166
def permission(driver, name)
167167
driver.execute_async_script('callback = arguments[arguments.length - 1];' \
168-
'callback(navigator.permissions.query({name: arguments[0]}));', name)['state']
168+
'callback(navigator.permissions.query({name: arguments[0]}));', name)['state']
169169
end
170170
end

examples/ruby/spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
require 'selenium-webdriver'
44
require 'selenium/webdriver/support/guards'
5-
require_relative '../lib/monkey_patch'
65

76
RSpec.configure do |config|
87
# Enable flags like --only-failures and --next-failure

0 commit comments

Comments
 (0)