spec/page-object/elements/span_spec.rb in page-object-0.5.4 vs spec/page-object/elements/span_spec.rb in page-object-0.5.5
- old
+ new
@@ -17,6 +17,10 @@
key, value = span.selenium_identifier_for t => 'value'
key.should == t
end
end
end
-end
\ No newline at end of file
+
+ it "should register with tag_name :span" do
+ ::PageObject::Elements.element_class_for(:span).should == ::PageObject::Elements::Span
+ end
+end