Fix querying spec, remove (Post)
This commit is contained in:
parent
63e342e6c4
commit
29ab4d8242
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ describe User::Querying, :type => :model do
|
|||
end
|
||||
|
||||
it "does not pull back hidden posts" do
|
||||
@status.share_visibilities(Post).where(user_id: alice.id).first.update_attributes(hidden: true)
|
||||
@status.share_visibilities.where(user_id: alice.id).first.update_attributes(hidden: true)
|
||||
expect(alice.visible_shareable_ids(Post).include?(@status.id)).to be false
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue