Fix RSpec/ContextWording cop (#24739)
This commit is contained in:
parent
cf18cc2891
commit
710745e16b
105 changed files with 559 additions and 668 deletions
|
@ -40,7 +40,7 @@ describe OStatus::TagManager do
|
|||
describe '#uri_for' do
|
||||
subject { OStatus::TagManager.instance.uri_for(target) }
|
||||
|
||||
context 'comment object' do
|
||||
context 'with comment object' do
|
||||
let(:target) { Fabricate(:status, created_at: '2000-01-01T00:00:00Z', reply: true) }
|
||||
|
||||
it 'returns the unique tag for status' do
|
||||
|
@ -49,7 +49,7 @@ describe OStatus::TagManager do
|
|||
end
|
||||
end
|
||||
|
||||
context 'note object' do
|
||||
context 'with note object' do
|
||||
let(:target) { Fabricate(:status, created_at: '2000-01-01T00:00:00Z', reply: false, thread: nil) }
|
||||
|
||||
it 'returns the unique tag for status' do
|
||||
|
@ -58,7 +58,7 @@ describe OStatus::TagManager do
|
|||
end
|
||||
end
|
||||
|
||||
context 'person object' do
|
||||
context 'when person object' do
|
||||
let(:target) { Fabricate(:account, username: 'alice') }
|
||||
|
||||
it 'returns the URL for account' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue