spec/watirspec/checkboxes_spec.rb in watir-webdriver-0.0.8 vs spec/watirspec/checkboxes_spec.rb in watir-webdriver-0.0.9
- old
+ new
@@ -22,9 +22,10 @@
describe "#each" do
it "iterates through checkboxes correctly" do
count = 0
browser.checkboxes.each_with_index do |c, index|
+ c.should be_instance_of(CheckBox)
c.name.should == browser.checkbox(:index, index).name
c.id.should == browser.checkbox(:index, index).id
c.value.should == browser.checkbox(:index, index).value
count += 1