Sha256: c30f43aa5b883989c4c5ad3fb2eb652d78847251209b82a8b7adc1a104f15d90
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
When /^I get the text for the "([^\"]*)" element$/ do |el| @heading = @page.send "#{el}_id" end Then /^I should see "([^\"]*)"$/ do |text| @heading.should == text end When /^I search for the heading(\d+) by "([^"]*)"$/ do |head_type, type| @heading = @page.send "h#{head_type}_#{type}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
meeane-page-object-0.1.10 | features/step_definitions/headings_steps.rb |
meeane-page-object-0.1.8 | features/step_definitions/headings_steps.rb |