Make use of fog_credentials.test.yml for testing.
This commit is contained in:
parent
745eee126a
commit
d6a3884c81
2 changed files with 9 additions and 5 deletions
|
@ -1,6 +1,10 @@
|
|||
require_relative 'features'
|
||||
|
||||
Fog.credentials_path = Rails.root.join('config/fog_credentials.yml')
|
||||
if Rails.env.test?
|
||||
Fog.credentials_path = Rails.root.join('config/fog_credentials.test.yml')
|
||||
else
|
||||
Fog.credentials_path = Rails.root.join('config/fog_credentials.yml')
|
||||
end
|
||||
|
||||
CarrierWave.configure do |config|
|
||||
# These permissions will make dir and files available only to the user running
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue