Sha256: 8750195427fa2c5ea38204b98e0d022e9e0819f66b5b8900fda115d164b0f20b
Contents?: true
Size: 574 Bytes
Versions: 2
Compression:
Stored size: 574 Bytes
Contents
require 'spec_helper' describe Symbiont::WebObjects::ListItem do describe "implementation" do let(:list_item_object) { Symbiont::WebObjects::ListItem } it "should allow locators to be used" do [:class, :id, :index, :xpath, :name, :text].each do |t| locator = list_item_object.provide_locator_for t => 'value' locator.keys.first.should == t end end it "should register with a list item (li) tag" do ::Symbiont::WebObjects.get_class_for(:li).should == ::Symbiont::WebObjects::ListItem end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
symbiont-0.2.1 | spec/symbiont/web_objects/list_item_spec.rb |
symbiont-0.2.0 | spec/symbiont/web_objects/list_item_spec.rb |