Reset default_wait_time to correct value after test
Fixes Culerity single quote test failures
This commit is contained in:
parent
555dcffa76
commit
95dc635ce9
|
@ -6,10 +6,11 @@ describe Capybara do
|
||||||
|
|
||||||
describe 'default_wait_time' do
|
describe 'default_wait_time' do
|
||||||
after do
|
after do
|
||||||
Capybara.default_wait_time = 2
|
Capybara.default_wait_time = @previous_default_time
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should be changeable" do
|
it "should be changeable" do
|
||||||
|
@previous_default_time = Capybara.default_wait_time
|
||||||
Capybara.default_wait_time = 5
|
Capybara.default_wait_time = 5
|
||||||
Capybara.default_wait_time.should == 5
|
Capybara.default_wait_time.should == 5
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue