mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
@ -48,7 +48,6 @@ describe AnonymousShadowCreator do
|
||||
|
||||
expect(shadow.created_at).not_to eq(user.created_at)
|
||||
|
||||
|
||||
p = create_post
|
||||
expect(Guardian.new(shadow).post_can_act?(p, :like)).to eq(false)
|
||||
expect(Guardian.new(user).post_can_act?(p, :like)).to eq(true)
|
||||
|
Reference in New Issue
Block a user