Fix waiting for ember to be ready before running the spec
This commit is contained in:
@@ -67,7 +67,7 @@ step 'there is another signed in user user' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
step "the user should be redirected to the homepage" do
|
step "the user should be redirected to the homepage" do
|
||||||
ember_route_should_be '/'
|
when_ember_is_ready { ember_route_should_be '/' }
|
||||||
end
|
end
|
||||||
|
|
||||||
step "the newly created user info should be stored in the local storage" do
|
step "the newly created user info should be stored in the local storage" do
|
||||||
|
|||||||
Reference in New Issue
Block a user