Fix RSpec/ContextWording cop (#24739)
This commit is contained in:
parent
cf18cc2891
commit
710745e16b
105 changed files with 559 additions and 668 deletions
|
@ -21,7 +21,7 @@ describe Api::V1::Accounts::RelationshipsController do
|
|||
lewis.follow!(user.account)
|
||||
end
|
||||
|
||||
context 'provided only one ID' do
|
||||
context 'when provided only one ID' do
|
||||
before do
|
||||
get :index, params: { id: simon.id }
|
||||
end
|
||||
|
@ -39,7 +39,7 @@ describe Api::V1::Accounts::RelationshipsController do
|
|||
end
|
||||
end
|
||||
|
||||
context 'provided multiple IDs' do
|
||||
context 'when provided multiple IDs' do
|
||||
before do
|
||||
get :index, params: { id: [simon.id, lewis.id] }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue