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