spec/watirspec/checkboxes_spec.rb in watir-webdriver-0.0.9 vs spec/watirspec/checkboxes_spec.rb in watir-webdriver-0.1.0

- old
+ new

@@ -5,9 +5,17 @@ before :each do browser.goto(WatirSpec.files + "/forms_with_input_elements.html") end + bug "http://github.com/jarib/celerity/issues#issue/25", :celerity do + describe "with selectors" do + it "returns the matching elements" do + browser.checkboxes(:value => "books").to_a.should == [browser.checkbox(:value => "books")] + end + end + end + describe "#length" do it "returns the number of checkboxes" do browser.checkboxes.length.should == 7 end end