Sha256: 41f931905a2ff5cf52712c5b5932fba4dc335806b4e39690514af53707cbd42c
Contents?: true
Size: 371 Bytes
Versions: 2
Compression:
Stored size: 371 Bytes
Contents
Then /^I know that the label on the "([^"]*)" identified by "([^"]*)" is "([^"]*)"$/ do |page, how, what| on(page.to_class).send("label_#{how}").should eq(what) end Then /^the label identified by "([^"]*)" should be "([^"]*)"$/ do |how, property| which_method = "#{property}?".to_sym on(DetailPage).send("label_#{how}_view").send(which_method).should be_true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
furter-0.0.3.3 | features/step_definitions/label_steps.rb |
furter-0.0.3.2 | features/step_definitions/label_steps.rb |