Fix most rubocop issues (#2165)
* Run rubocop --autocorrect on app/, config/ and lib/, also manually fix some remaining style issues * Run rubocop --autocorrect-all on db/ * Run rubocop --autocorrect-all on `spec/` and fix remaining issues
This commit is contained in:
@@ -48,7 +48,7 @@ RSpec.describe NotifyService, type: :service do
|
||||
recipient.suspend!
|
||||
expect { subject }.to_not change(Notification, :count)
|
||||
end
|
||||
|
||||
|
||||
context 'for direct messages' do
|
||||
let(:activity) { Fabricate(:mention, account: recipient, status: Fabricate(:status, account: sender, visibility: :direct)) }
|
||||
let(:type) { :mention }
|
||||
|
Reference in New Issue
Block a user