diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-07-25 20:48:40 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-07-25 20:48:40 +0300 |
commit | 2b7e6e99ed78b525eaa7f9e034b9bcf1e4fc5746 (patch) | |
tree | 97f92fd44fba435d00338ef2beb5622795b3b50e /config/initializers/6_validations.rb | |
parent | 9fead2b8271c4f3bb6c04a596253f80b09de9caa (diff) |
Add ENV variable to skip repository storages validations
Diffstat (limited to 'config/initializers/6_validations.rb')
-rw-r--r-- | config/initializers/6_validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/6_validations.rb b/config/initializers/6_validations.rb index 37746968675..d92f64e1647 100644 --- a/config/initializers/6_validations.rb +++ b/config/initializers/6_validations.rb @@ -26,4 +26,4 @@ def validate_storages end end -validate_storages unless Rails.env.test? +validate_storages unless Rails.env.test? || ENV['SKIP_STORAGE_VALIDATION'] == 'true' |