Sha256: 2745ad46d48de47271c6dee1e31f25d770c913616751b8059a604920ae56eeb9

Contents?: true

Size: 510 Bytes

Versions: 8

Compression:

Stored size: 510 Bytes

Contents

describe WatirSplash::Browser do

  before :all do
    # close the browser opened in environment.rb
    WatirSplash::Browser.current.close
  end

  it "opens up the browser" do
    browser = WatirSplash::Browser.new
    browser.should exist
    browser.should respond_to(:title)
  end

  it "stores the current browser" do
    browser = WatirSplash::Browser.new
    browser.should == WatirSplash::Browser.current
  end

  after :each do
    WatirSplash::Browser.current.close
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
watirsplash-2.2.0 spec/browser_spec.rb
watirsplash-2.1.1 spec/browser_spec.rb
watirsplash-2.1.0 spec/browser_spec.rb
watirsplash-2.0.1.rc5 spec/browser_spec.rb
watirsplash-2.0.1.rc4 spec/browser_spec.rb
watirsplash-2.0.1.rc3 spec/browser_spec.rb
watirsplash-2.0.1.rc1 spec/browser_spec.rb
watirsplash-2.0.0 spec/browser_spec.rb