Bug in ownership of account test
This commit is contained in:
parent
8d814cdb8f
commit
edab4272b0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ module Rubyzome
|
|||
### OWNERSHIP ###
|
||||
|
||||
def check_ownership_user_account(user,account)
|
||||
if account.user_id = user
|
||||
if account.user != user
|
||||
raise Error, "Account is not linked to user #{user.nickname}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue