spec/web_elements/checkbox_spec.rb in fluent-0.2.0 vs spec/web_elements/checkbox_spec.rb in fluent-0.3.0
- old
+ new
@@ -16,6 +16,10 @@
it 'should be able to uncheck the checkbox' do
checkbox_object.should_receive(:clear)
checkbox_definition.uncheck
end
+
+ it 'should register with a checkbox tag' do
+ ::Fluent::WebElements.get_class_for(:input, :checkbox).should == ::Fluent::WebElements::CheckBox
+ end
end
\ No newline at end of file