diff --git a/spec/browser_spec.rb b/spec/browser_spec.rb index 69456db..2b6247e 100644 --- a/spec/browser_spec.rb +++ b/spec/browser_spec.rb @@ -35,7 +35,7 @@ describe Capybara::Driver::Webkit::Browser do new_browser = Capybara::Driver::Webkit::Browser.new(:stdout => io) new_browser.execute_script('console.log("hello world")') sleep(0.5) - io.string.should == "hello world\n" + io.string.should include "hello world\n" end context 'handling of SSL validation errors' do