Sha256: 2ddd0af5dce68bbb71262531659171f118fa5f17ce4d0a7de9e1174e1f172147
Contents?: true
Size: 312 Bytes
Versions: 2
Compression:
Stored size: 312 Bytes
Contents
When /^I get the italic text for the "([^\"]*)" element$/ do |el| @i = @page.send "#{el}_id" end Then /^I should see "([^\"]*)" in italic$/ do |text| @i.should == text end When /^I search italic text for the (\w+) by "([^"]*)"$/ do |text_decorator, type| @i = @page.send "#{text_decorator}_#{type}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
page-object-1.2.0 | features/step_definitions/italic_steps.rb |
page-object-1.1.1 | features/step_definitions/italic_steps.rb |