Sha256: e38acfb01b2cf3ea5b99e2256a8551eb0aa0f184aef0ada367fe9bcdffec290d

Contents?: true

Size: 487 Bytes

Versions: 8

Compression:

Stored size: 487 Bytes

Contents

require File.expand_path("../watirspec/spec_helper", __FILE__)

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

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
celerity_thingista-0.9.3 spec/index_offset_spec.rb
celerity_thingista-0.9.2 spec/index_offset_spec.rb
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/celerity-0.9.2/spec/index_offset_spec.rb
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/celerity-0.9.2/spec/index_offset_spec.rb
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/celerity-0.9.2/spec/index_offset_spec.rb
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/celerity-0.9.2/spec/index_offset_spec.rb
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/celerity-0.9.2/spec/index_offset_spec.rb
celerity-0.9.2 spec/index_offset_spec.rb