mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:21:11 +08:00
DEV: Use proper wording for contexts in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
02987e05d5
commit
3eaac56797
@ -7,8 +7,7 @@ class GlobalPathInstance
|
||||
end
|
||||
|
||||
RSpec.describe GlobalPath do
|
||||
|
||||
context 'cdn_relative_path' do
|
||||
describe '.cdn_relative_path' do
|
||||
def cdn_relative_path(p)
|
||||
GlobalPathInstance.cdn_relative_path(p)
|
||||
end
|
||||
@ -28,7 +27,7 @@ RSpec.describe GlobalPath do
|
||||
end
|
||||
end
|
||||
|
||||
describe '#upload_cdn_path' do
|
||||
describe '.upload_cdn_path' do
|
||||
it 'generates correctly when S3 bucket has a folder' do
|
||||
global_setting :s3_access_key_id, 's3_access_key_id'
|
||||
global_setting :s3_secret_access_key, 's3_secret_access_key'
|
||||
|
Reference in New Issue
Block a user