spec/symbiont/generators/cell_generators_spec.rb in symbiont-0.1.8 vs spec/symbiont/generators/cell_generators_spec.rb in symbiont-0.1.9
- old
+ new
@@ -35,10 +35,10 @@
watir_definition.totalValue?.should be_true
end
it "should determine if a table cell is visible" do
watir_browser.should_receive(:td).twice.and_return(watir_browser)
- watir_browser.should_receive(:visible?).twice.and_return(watir_browser)
+ watir_browser.should_receive(:present?).twice.and_return(watir_browser)
watir_definition.totalValue_visible?.should be_true
watir_definition.totalValue_?.should be_true
end
it "should return the text of a table cell" do