spec/helpers/current_user_accounts.rb in cantango-api-0.0.0 vs spec/helpers/current_user_accounts.rb in cantango-api-0.1.0
- old
+ new
@@ -12,9 +12,9 @@
def current_user_account
::UserAccount.new(current_user, :roles => [:user])
end
def current_admin_account
- ::UserAccount.new(current_admin, :roles => [:admin])
+ ::AdminAccount.new(current_admin, :roles => [:admin])
end
end