Sha256: e3cc17f237f1300a942804c33ae9a2335c251f6ddfa8ee6664c81dad093a8d23
Contents?: true
Size: 1 KB
Versions: 2
Compression:
Stored size: 1 KB
Contents
When(/^the founded table entry for DC is searched for by "(.*?)"$/) do |identifier| @find_by = identifier end Then(/^the founded table entry for DC should exist$/) do @active.dc_year_id_exists?.should == true @active.dc_year_id?.should == true end Then(/^the founded table entry for DC should be visible$/) do @active.dc_year_id_visible?.should == true @active.dc_year_id_?.should == true end Then(/^the founded table entry for DC should be a table cell object$/) do element = @active.dc_year_id_cell element.should be_instance_of Symbiont::WebObjects::TableCell end Then(/^the founded table entry for DC should be "(.*?)"$/) do |value| @active.dc_year_id.should == value end Then(/^the founded table entry for Marvel should be "(.*?)"$/) do |value| @active.marvel_year_id.should == value end Then(/^it can be confirmed that the founded table entry for DC should be "(.*?)"$/) do |value| result = @active.send "dc_year_#{@find_by}".to_sym result.should == value end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
symbiont-0.2.1 | specs/steps/table_cell_steps.rb |
symbiont-0.2.0 | specs/steps/table_cell_steps.rb |