switch to https by bero request
This commit is contained in:
parent
732b89b3d7
commit
d45ae84d0a
|
@ -3,14 +3,14 @@ common: &common
|
|||
repo_project_name: Openmandriva ABF
|
||||
anonymous_access: true
|
||||
preregistration: false
|
||||
file_store_url: 'http://file-store.openmandriva.org'
|
||||
file_store_url: 'https://file-store.openmandriva.org'
|
||||
distr_types: ['mdv']
|
||||
github_organization: 'OpenMandrivaAssociation'
|
||||
allowed_addresses:
|
||||
- 127.0.0.1
|
||||
abf_worker:
|
||||
publish_workers_count: 1
|
||||
downloads_url: 'http://abf-downloads.openmandriva.org/'
|
||||
downloads_url: 'https://abf-downloads.openmandriva.org/'
|
||||
|
||||
development:
|
||||
<<: *common
|
||||
|
|
|
@ -6,7 +6,7 @@ describe FileStoreService::File do
|
|||
|
||||
context '#exist?' do
|
||||
let(:response) { [ { file_name: 'test.log', sha1_hash: sha1 } ].to_json }
|
||||
let(:url) { "http://file-store.rosalinux.ru/api/v1/file_stores.json?hash=#{sha1}" }
|
||||
let(:url) { "https://file-store.rosalinux.ru/api/v1/file_stores.json?hash=#{sha1}" }
|
||||
|
||||
subject { FileStoreService::File.new(sha1: sha1) }
|
||||
|
||||
|
@ -43,7 +43,7 @@ describe FileStoreService::File do
|
|||
end
|
||||
|
||||
context 'file does not exist on FS' do
|
||||
let(:url) { "http://test-token:@file-store.rosalinux.ru/api/v1/upload" }
|
||||
let(:url) { "https://test-token:@file-store.rosalinux.ru/api/v1/upload" }
|
||||
let(:response) { { sha1_hash: sha1 }.to_json }
|
||||
|
||||
before do
|
||||
|
@ -70,7 +70,7 @@ describe FileStoreService::File do
|
|||
end
|
||||
|
||||
context '#destroy' do
|
||||
let(:url) { "http://file-store.rosalinux.ru/api/v1/file_stores/#{sha1}.json" }
|
||||
let(:url) { "https://file-store.rosalinux.ru/api/v1/file_stores/#{sha1}.json" }
|
||||
|
||||
it 'not raise errors' do
|
||||
stub_request(:delete, url).to_raise(StandardError)
|
||||
|
|
Loading…
Reference in New Issue