spec/watirspec/cookies_spec.rb in watir-6.6.0 vs spec/watirspec/cookies_spec.rb in watir-6.6.1

- old
+ new

@@ -111,22 +111,20 @@ expect(IO.read(file)).to eq(browser.cookies.to_a.to_yaml) end end describe '#load' do - bug "invalid expiration issue", :firefox do - it 'loads cookies from file' do - browser.cookies.clear - browser.cookies.load file - expected = browser.cookies.to_a - actual = YAML.load(IO.read(file)) + it 'loads cookies from file' do + browser.cookies.clear + browser.cookies.load file + expected = browser.cookies.to_a + actual = YAML.load(IO.read(file)) - # https://code.google.com/p/selenium/issues/detail?id=6834 - expected.each { |cookie| cookie.delete(:expires) } - actual.each { |cookie| cookie.delete(:expires) } + # https://code.google.com/p/selenium/issues/detail?id=6834 + expected.each { |cookie| cookie.delete(:expires) } + actual.each { |cookie| cookie.delete(:expires) } - expect(actual).to eq(expected) - end + expect(actual).to eq(expected) end end end def set_cookie_url