before switch to ubuntu commit since apple has issues
This commit is contained in:
@@ -18,9 +18,11 @@ module SpecRouteHelpers
|
||||
max_wait = 4
|
||||
time = 0.0
|
||||
time_step = 0.25
|
||||
while time < max_wait && ember_route != route_def
|
||||
current_route = ember_route
|
||||
while time < max_wait && current_route != route_def
|
||||
time += time_step
|
||||
sleep time_step
|
||||
current_route = ember_route
|
||||
end
|
||||
ember_route(omit_should_raise: true).should == route_def
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user