Fix RSpec/ContextWording cop (#24739)
This commit is contained in:
@ -7,7 +7,7 @@ RSpec.describe FollowService, type: :service do
|
||||
|
||||
let(:sender) { Fabricate(:account, username: 'alice') }
|
||||
|
||||
context 'local account' do
|
||||
context 'when local account' do
|
||||
describe 'locked account' do
|
||||
let(:bob) { Fabricate(:account, locked: true, username: 'bob') }
|
||||
|
||||
@ -138,7 +138,7 @@ RSpec.describe FollowService, type: :service do
|
||||
end
|
||||
end
|
||||
|
||||
context 'remote ActivityPub account' do
|
||||
context 'when remote ActivityPub account' do
|
||||
let(:bob) { Fabricate(:account, username: 'bob', domain: 'example.com', protocol: :activitypub, inbox_url: 'http://example.com/inbox') }
|
||||
|
||||
before do
|
||||
|
Reference in New Issue
Block a user