spec/page-object/elements/span_spec.rb in page-object-0.2 vs spec/page-object/elements/span_spec.rb in page-object-0.2.1

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' require 'page-object/elements' describe PageObject::Elements::Span do let(:span) { PageObject::Elements::Span } - + describe "when mapping how to find an element" do it "should map watir types to same" do [:class, :id, :index, :xpath].each do |t| identifier = span.watir_identifier_for t => 'value' identifier.keys.first.should == t \ No newline at end of file