Sha256: a066e0c5bebcc1288fdbdeade8f5c2747728b7964835554e9eabad17f36298b5
Contents?: true
Size: 587 Bytes
Versions: 13
Compression:
Stored size: 587 Bytes
Contents
When /^I check the "(.*?)"$/ do |name| on(MainScreen).send "#{name.to_field}=", true end When /^I uncheck the "(.*?)"$/ do |name| on(MainScreen).send "#{name.to_field}=", false end Then /^the "(.*?)" should be checked$/ do |name| on(MainScreen).send("#{name.to_field}").should be_true end Then /^the "(.*?)" should not be checked$/ do |name| on(MainScreen).send("#{name.to_field}").should be_false end Then /^I know that the "(.*?)" value is "(.*?)"$/ do |name, expected_value| on(MainScreen).send("#{name.to_field}_value").should eq(expected_value) end
Version data entries
13 entries across 13 versions & 1 rubygems