Fix RSpec/ContextWording cop (#24739)
This commit is contained in:
parent
cf18cc2891
commit
710745e16b
105 changed files with 559 additions and 668 deletions
|
@ -24,7 +24,7 @@ RSpec.describe RoutingHelper, type: :helper do
|
|||
end
|
||||
end
|
||||
|
||||
context 'Do not use S3' do
|
||||
context 'when not using S3' do
|
||||
before do
|
||||
Rails.configuration.x.use_s3 = false
|
||||
end
|
||||
|
@ -32,7 +32,7 @@ RSpec.describe RoutingHelper, type: :helper do
|
|||
it_behaves_like 'returns full path URL'
|
||||
end
|
||||
|
||||
context 'Use S3' do
|
||||
context 'when using S3' do
|
||||
before do
|
||||
Rails.configuration.x.use_s3 = true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue