mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Add eu-west-1 to s3 regions
This commit is contained in:
parent
a104c37d63
commit
28ac110a3c
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@ class S3RegionSiteSetting
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.all_values
|
def self.all_values
|
||||||
@all_values ||= ['', 'us-east-1', 'us-west-1', 'us-west-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1'].sort
|
@all_values ||= ['', 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1'].sort
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -14,7 +14,7 @@ describe S3RegionSiteSetting do
|
||||||
|
|
||||||
describe 'all_values' do
|
describe 'all_values' do
|
||||||
it 'returns all the S3 regions and blank' do
|
it 'returns all the S3 regions and blank' do
|
||||||
expect(S3RegionSiteSetting.all_values.sort).to eq(['', 'us-east-1', 'us-west-1', 'us-west-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1'].sort)
|
expect(S3RegionSiteSetting.all_values.sort).to eq(['', 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', 'ap-southeast-1', 'ap-southeast-2', 'ap-northeast-1', 'sa-east-1'].sort)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue