Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Why???

  • Loading branch information...
commit 98588a6f3779d8a550d89ed2153b385e979d193e 1 parent e3830d3
Jonas Nicklas and Kim Burgestrand authored
Showing with 6 additions and 1 deletion.
  1. +5 −1 spec/evergreen_spec.rb
  2. +1 −0  spec/spec_helper.rb
View
6 spec/evergreen_spec.rb
@@ -41,7 +41,11 @@
visit("/")
within('li', :text => 'failing_spec.js') do
click_link("Run")
- page.should have_content('Fail')
+ begin
+ page.should have_content('Fail')
+ rescue # why you make me sad, Capybara webkit???
+ page.should have_content('Fail')
+ end
end
end
end
View
1  spec/spec_helper.rb
@@ -39,6 +39,7 @@ def pass
RSpec.configure do |config|
config.include EvergreenMatchers
config.before do
+ Capybara.reset_sessions!
Evergreen.use_defaults!
Evergreen.root = File.expand_path('suite1', File.dirname(__FILE__))
Evergreen.driver = TEST_DRIVER
Please sign in to comment.
Something went wrong with that request. Please try again.