mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 17:17:17 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
@ -6,7 +6,6 @@ describe PostActionCreator do
|
||||
let(:post) { Fabricate(:post) }
|
||||
let(:like_type_id) { PostActionType.types[:like] }
|
||||
|
||||
|
||||
describe 'perform' do
|
||||
it 'creates a post action' do
|
||||
expect { PostActionCreator.new(user, post).perform(like_type_id) }.to change { PostAction.count }.by(1)
|
||||
|
Reference in New Issue
Block a user