From a76232bb7e5083b504130c64ffbe374996300425 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 12 Jul 2013 14:02:37 +1000 Subject: [PATCH] Make sure admin_user has admin privilege for new version of Spree --- spec/support/request/authentication_workflow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/request/authentication_workflow.rb b/spec/support/request/authentication_workflow.rb index df9ab27558..ce9cef74b0 100644 --- a/spec/support/request/authentication_workflow.rb +++ b/spec/support/request/authentication_workflow.rb @@ -8,7 +8,7 @@ module AuthenticationWorkflow :remember_me => false, :persistence_token => 'pass', :login => 'admin@ofw.org', - :role_ids => [admin_role.id]}) + :spree_role_ids => [admin_role.id]}) visit spree.admin_path fill_in 'user_email', :with => 'admin@ofw.org'