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:
parent
4a69fbd6f5
commit
37aec4f581
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue