From d00f4fd1b4a2770f38bf3aad06bd048d56f2332d Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Tue, 6 Oct 2015 17:26:58 +0200 Subject: [PATCH] Fix waiting for ember to be ready before running the spec --- spec/acceptance_steps/users/authentication_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/acceptance_steps/users/authentication_steps.rb b/spec/acceptance_steps/users/authentication_steps.rb index 5fcf3304..3cd7e216 100644 --- a/spec/acceptance_steps/users/authentication_steps.rb +++ b/spec/acceptance_steps/users/authentication_steps.rb @@ -67,7 +67,7 @@ step 'there is another signed in user user' do end step "the user should be redirected to the homepage" do - ember_route_should_be '/' + when_ember_is_ready { ember_route_should_be '/' } end step "the newly created user info should be stored in the local storage" do