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