Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
This commit is contained in:
parent
dbc6d7b276
commit
bd1d57c230
17 changed files with 19 additions and 21 deletions
|
@ -30,6 +30,7 @@ RSpec.describe ActivityPub::Activity::Delete do
|
|||
context 'when the status has been reblogged' do
|
||||
describe '#perform' do
|
||||
subject { described_class.new(json, sender) }
|
||||
|
||||
let!(:reblogger) { Fabricate(:account) }
|
||||
let!(:follower) { Fabricate(:account, username: 'follower', protocol: :activitypub, domain: 'example.com', inbox_url: 'http://example.com/inbox') }
|
||||
let!(:reblog) { Fabricate(:status, account: reblogger, reblog: status) }
|
||||
|
@ -53,6 +54,7 @@ RSpec.describe ActivityPub::Activity::Delete do
|
|||
context 'when the status has been reported' do
|
||||
describe '#perform' do
|
||||
subject { described_class.new(json, sender) }
|
||||
|
||||
let!(:reporter) { Fabricate(:account) }
|
||||
|
||||
before do
|
||||
|
|
|
@ -110,6 +110,7 @@ RSpec.describe ActivityPub::Activity::Flag do
|
|||
|
||||
describe '#perform with a defined uri' do
|
||||
subject { described_class.new(json, sender) }
|
||||
|
||||
let(:flag_id) { 'http://example.com/reports/1' }
|
||||
|
||||
before do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue