Fix RSpec/ContextWording cop (#24739)

This commit is contained in:
Matt Jankowski
2023-05-03 23:49:08 -04:00
committed by GitHub
parent cf18cc2891
commit 710745e16b
105 changed files with 559 additions and 668 deletions

View File

@@ -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