Skip to content

Commit 1a17c85

Browse files
committed
Fix linting for new rubocop version.
1 parent d48e824 commit 1a17c85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/support/api_umbrella_test_helpers/capybara_codemirror.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def fill_in_codemirror(locator, options = {})
99
label = find(:label, :for => field)
1010
label.click
1111

12-
fill_in(locator, **options.merge(:visible => :all))
12+
fill_in(locator, **options, :visible => :all)
1313
end
1414

1515
def assert_codemirror_field(locator, options = {})

test/support/api_umbrella_test_helpers/capybara_custom_bootstrap_inputs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _custom_check_with_label(selector, checked, locator, **options)
2929
options[:allow_self] = true if locator.nil?
3030
click_options = options.delete(:click) || { :x => 1, :y => 1 }
3131

32-
el = find(selector, locator, **options.merge(:visible => :all))
32+
el = find(selector, locator, **options, :visible => :all)
3333
el.session.find(:label, :for => el, :visible => true).click(**click_options) unless el.checked? == checked
3434
ensure
3535
Capybara.w3c_click_offset = original_w3c_click_offset

0 commit comments

Comments
 (0)