Sha256: f42676fc8687e414b1b78dd16522b62ca799bbca721b690cfceb32824a3d0731

Contents?: true

Size: 666 Bytes

Versions: 16

Compression:

Stored size: 666 Bytes

Contents

describe WatirSplash::SpecHelper do

  it "redirects method calls to Watir::Browser" do
    goto "http://dl.dropbox.com/u/2731643/WatirSplash/test.html"
    url.should =~ /test/
    title.should == "WatirSplash testing page"
    text_field = text_field(:name => "field1")
    text_field.should exist
    text_field.should be_visible
    text_field.value == "empty value"
  end

  it "redirects usages of method 'p' to Watir::IE#p instead of Kernel.p" do
    goto "http://dl.dropbox.com/u/2731643/WatirSplash/test.html"
    paragraph = p(:class => "my_pg")
    paragraph.should exist
    paragraph.text.should == "This is a paragraph!"
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
watirsplash-2.4.4 spec/spec_helper_spec.rb
watirsplash-2.4.3 spec/spec_helper_spec.rb
watirsplash-2.4.2 spec/spec_helper_spec.rb
watirsplash-2.4.1 spec/spec_helper_spec.rb
watirsplash-2.4.0 spec/spec_helper_spec.rb
watirsplash-2.3.2 spec/spec_helper_spec.rb
watirsplash-2.3.1 spec/spec_helper_spec.rb
watirsplash-2.3.0 spec/spec_helper_spec.rb
watirsplash-2.2.0 spec/spec_helper_spec.rb
watirsplash-2.1.1 spec/spec_helper_spec.rb
watirsplash-2.1.0 spec/spec_helper_spec.rb
watirsplash-2.0.1.rc5 spec/spec_helper_spec.rb
watirsplash-2.0.1.rc4 spec/spec_helper_spec.rb
watirsplash-2.0.1.rc3 spec/spec_helper_spec.rb
watirsplash-2.0.1.rc1 spec/spec_helper_spec.rb
watirsplash-2.0.0 spec/spec_helper_spec.rb