Fix RSpec/MissingExampleGroupArgument cop (#25310)
This commit is contained in:
parent
b74c3cd708
commit
6c0e3f490a
22 changed files with 38 additions and 68 deletions
|
@ -99,7 +99,7 @@ RSpec.describe AccountsController do
|
|||
end
|
||||
end
|
||||
|
||||
context do
|
||||
context 'with a normal account in an HTML request' do
|
||||
before do
|
||||
get :show, params: { username: account.username, format: format }
|
||||
end
|
||||
|
@ -173,7 +173,7 @@ RSpec.describe AccountsController do
|
|||
end
|
||||
end
|
||||
|
||||
context do
|
||||
context 'with a normal account in a JSON request' do
|
||||
before do
|
||||
get :show, params: { username: account.username, format: format }
|
||||
end
|
||||
|
@ -314,7 +314,7 @@ RSpec.describe AccountsController do
|
|||
it_behaves_like 'cacheable response'
|
||||
end
|
||||
|
||||
context do
|
||||
context 'with a normal account in an RSS request' do
|
||||
before do
|
||||
get :show, params: { username: account.username, format: format }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue