Merge pull request #2285 from Tietew/fix_typo_in_checkbox_definition

Fixed typo
This commit is contained in:
Thomas Walpole 2019-12-16 02:53:28 -08:00 committed by GitHub
commit 36c2d2c1a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ Capybara.add_selector(:checkbox, locator_type: [String, Symbol]) do
describe_node_filters do |option: nil, with: nil, **|
desc = +''
desc << " with value #{option.inspect}" if option
desc << " with value #{with.inspec}" if with
desc << " with value #{with.inspect}" if with
desc
end
end

View File

@ -21,7 +21,7 @@ Capybara.add_selector(:radio_button, locator_type: [String, Symbol]) do
describe_node_filters do |option: nil, with: nil, **|
desc = +''
desc << " with value #{option.inspect}" if option
desc << " with value #{with.inspec}" if with
desc << " with value #{with.inspect}" if with
desc
end
end