diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-20 13:06:45 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-20 13:06:45 +0200 |
commit | 470661e1a70bd3c8415387e9068823536d1fb1bc (patch) | |
tree | eda2ffb6a4e847e5bb45f5fa19c4fe291a72efd6 /app/models/concerns | |
parent | 0605cdd7590b12bad073bf41f3e793274e931a80 (diff) | |
download | gitlab-ce-470661e1a70bd3c8415387e9068823536d1fb1bc.tar.gz |
Change a method name which enumerates CI/CD statuses
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/has_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/has_status.rb b/app/models/concerns/has_status.rb index a94226bb735..758d71b7f4c 100644 --- a/app/models/concerns/has_status.rb +++ b/app/models/concerns/has_status.rb @@ -12,7 +12,7 @@ module HasStatus failed: 4, canceled: 5, skipped: 6, manual: 7 }.freeze class_methods do - def enumerated_status! + def enumerate_status! enum status: HasStatus::STATUSES_ENUM end |