diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-02-21 18:46:52 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-02-21 18:46:52 +0800 |
commit | 2b0426a4971480c6d9868ac6865d3827485fe8d1 (patch) | |
tree | 5d904aaec9b2b368ea515ecfa7053d8ab719866a /app/models | |
parent | aae71188ee9c51b51324211bc929146d3eb04637 (diff) | |
download | gitlab-ce-2b0426a4971480c6d9868ac6865d3827485fe8d1.tar.gz |
Fix tests due to error key changed
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/application_setting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb index b5ffc5f9ca9..1349587fb0a 100644 --- a/app/models/application_setting.rb +++ b/app/models/application_setting.rb @@ -309,6 +309,6 @@ class ApplicationSetting < ActiveRecord::Base def check_default_artifacts_expire_in ChronicDuration.parse(default_artifacts_expire_in) rescue ChronicDuration::DurationParseError - errors.add(:default_artifacts_expiration, "is not a correct duration") + errors.add(:default_artifacts_expire_in, "is not a correct duration") end end |