mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Wrap JS specs in describe block so timeout change only affects them
This caused some specs to time out and fail
This commit is contained in:
parent
2e260ae319
commit
2f3dc8f534
1 changed files with 163 additions and 161 deletions
|
@ -3,6 +3,7 @@ require File.expand_path('spec_helper', File.dirname(__FILE__))
|
|||
require 'nokogiri'
|
||||
|
||||
shared_examples_for "session with javascript support" do
|
||||
describe 'all JS specs' do
|
||||
before do
|
||||
Capybara.default_wait_time = 1
|
||||
end
|
||||
|
@ -180,3 +181,4 @@ shared_examples_for "session with javascript support" do
|
|||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue