Travis timing is all over the map
This commit is contained in:
parent
0561020670
commit
13001e21bc
|
@ -25,7 +25,7 @@ Capybara::SpecHelper.spec '#has_current_path?' do
|
|||
|
||||
it "should wait for current_path", requires: [:js] do
|
||||
@session.click_link("Change page")
|
||||
expect(@session).to have_current_path("/with_html")
|
||||
expect(@session).to have_current_path("/with_html", wait: 3)
|
||||
end
|
||||
|
||||
it "should be false if the page has not the given current_path" do
|
||||
|
|
Loading…
Reference in New Issue