lib/agilibox/cucumber_helpers/common_steps.rb in agilibox-1.11.0 vs lib/agilibox/cucumber_helpers/common_steps.rb in agilibox-2.0.0

- old
+ new

@@ -61,11 +61,11 @@ Then("I do not see {string} element") do |selector| expect(page).to have_no_selector(selector) end Then("I see {int} times {string} element") do |count, selector| - expect(page).to have_selector(selector, count: count) + expect(page).to have_selector(selector, count:) end Then("I see {string} in modal") do |text| expect(find("#modal")).to have_content(text) end @@ -93,10 +93,10 @@ When("I select {string}") do |value| select value end When("I select {string} from {string}") do |value, from| - select value, from: from + select value, from: end When(/^I select2 "([^"]*)" from "([^"]*)"$/) do |value, selector| select2(selector, value) end