spec/index_offset_spec.rb in celerity-0.9.1 vs spec/index_offset_spec.rb in celerity-0.9.2

- old
+ new

@@ -2,21 +2,21 @@ describe "Celerity.index_offset" do # before :all do # browser.goto(WatirSpec.files + "/non_control_elements.html") - # + # # Celerity.index_offset = 0 # end - # + # # it "returns the correct divs" do # divs = browser.divs.to_a - # + # # divs.each_with_index do |div, idx| # browser.div(:index, idx).id.should == div.id # end # end - # + # # after :all do # Celerity.index_offset = 1 # end end