Created
April 20, 2018 13:50
-
-
Save christophervigliotti/345a969eb92d0fb77aef1fb66d2db1d4 to your computer and use it in GitHub Desktop.
You down with AFT?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
RSpec.feature 'TODO: describe your spec here' do | |
before(:each) do | |
@wait_time = Capybara.default_max_wait_time | |
Capybara.default_max_wait_time = 10 | |
end | |
scenario 'TODO: describe your scenario here.', :js do | |
# TODO: your logic goes here | |
end | |
# TODO: add more scenarios here as-needed | |
after(:each) do | |
Capybara.default_max_wait_time = @wait_time | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment