mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Reset default_wait_time to correct value after test
Fixes Culerity single quote test failures
This commit is contained in:
parent
555dcffa76
commit
95dc635ce9
1 changed files with 5 additions and 4 deletions
|
@ -6,10 +6,11 @@ describe Capybara do
|
|||
|
||||
describe 'default_wait_time' do
|
||||
after do
|
||||
Capybara.default_wait_time = 2
|
||||
Capybara.default_wait_time = @previous_default_time
|
||||
end
|
||||
|
||||
it "should be changeable" do
|
||||
@previous_default_time = Capybara.default_wait_time
|
||||
Capybara.default_wait_time = 5
|
||||
Capybara.default_wait_time.should == 5
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue