Make sure admin_user has admin privilege for new version of Spree

This commit is contained in:
David Cook
2013-07-12 14:02:37 +10:00
parent 30253ffd07
commit a76232bb7e

View File

@@ -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'