Fix RSpec/MissingExampleGroupArgument cop (#25310)
This commit is contained in:
parent
b74c3cd708
commit
6c0e3f490a
22 changed files with 38 additions and 68 deletions
|
@ -32,7 +32,7 @@ RSpec.describe Api::V1::Admin::AccountActionsController do
|
|||
end
|
||||
|
||||
describe 'POST #create' do
|
||||
context do
|
||||
context 'with type of disable' do
|
||||
before do
|
||||
post :create, params: { account_id: account.id, type: 'disable' }
|
||||
end
|
||||
|
|
|
@ -96,7 +96,7 @@ RSpec.describe Api::V1::Admin::DomainAllowsController do
|
|||
describe 'POST #create' do
|
||||
let!(:domain_allow) { Fabricate(:domain_allow, domain: 'example.com') }
|
||||
|
||||
context do
|
||||
context 'with a valid domain' do
|
||||
before do
|
||||
post :create, params: { domain: 'foo.bar.com' }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue