Delete instead of destroy to simulate a remote user
This commit is contained in:
parent
b370f4c560
commit
19b5fb0b84
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ describe User do
|
|||
user.raw_visible_posts.count.should == 1
|
||||
|
||||
person = user2.person
|
||||
user2.destroy
|
||||
user2.delete
|
||||
user.unfriend(person)
|
||||
|
||||
user.reload
|
||||
|
|
|
|||
Loading…
Reference in a new issue