1
0
Fork 0
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:
Jonas Nicklas 2010-02-26 01:04:00 +01:00
parent 2e260ae319
commit 2f3dc8f534

View file

@ -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