1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Reduce timeout for specs so they run faster

This commit is contained in:
Jonas Nicklas 2010-01-01 18:45:30 +01:00
parent 4a69fbd6f5
commit 37aec4f581
2 changed files with 2 additions and 4 deletions

View file

@ -9,10 +9,6 @@ describe Capybara do
Capybara.default_wait_time = 2
end
it "should default to 2 seconds" do
Capybara.default_wait_time.should == 2
end
it "should be changeable" do
Capybara.default_wait_time = 5
Capybara.default_wait_time.should == 5

View file

@ -18,3 +18,5 @@ require 'session_with_headers_support_spec'
require 'session_without_headers_support_spec'
alias :running :lambda
Capybara.default_wait_time = 1 # less timeout so tests run faster