spec/helpers/current_user_accounts.rb in cantango-api-0.1.1 vs spec/helpers/current_user_accounts.rb in cantango-api-0.1.2

- old
+ new

@@ -10,9 +10,13 @@ end def current_user_account @current_user_account ||= ::UserAccount.new(current_user, :roles => [:user]) end + + def current_guest_account + @current_guest_account ||= ::UserAccount.new(current_guest, :roles => [:guest]) + end def current_admin_account @current_admin_account ||= ::AdminAccount.new(current_admin, :roles => [:admin]) end end