mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
Make sure admin_user has admin privilege for new version of Spree
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user