Sha256: 3c7ff7870aa909e95e3743a62d7303778ea225acd893d1067dbc767f1ba75bac

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

require "watirspec"
require "spec/autorun"

describe Watir::IE do

  it "closes the browser even when Watir::IE#run_error_checks throws an exception" do
    @browser.add_checker lambda {raise "let's fail IE#wait in IE#close"}
    @browser.should exist
    lambda {@browser.close}.should_not raise_exception
    @browser.should_not exist
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
watirspec-0.1.9.1 spec/watir_ie_spec.rb
watirspec-0.1.8 spec/watir_ie_spec.rb
watirspec-0.1.7 spec/watir_ie_spec.rb
watirspec-0.1.6 spec/watir_ie_spec.rb