Make ember route expectations smarter

This commit is contained in:
2014-10-17 18:23:48 +02:00
parent 84b1060c6f
commit 8837037b05
6 changed files with 19 additions and 7 deletions
@@ -24,7 +24,6 @@ end
step "the user should be redirected to the archived list path" do
#route_should_be 'user#history_list'
sleep 1
ember_route_should_be "/lists/#{@order.list_id}"
page.should have_selector ".order-row-#{@order.id}"
end