Commit 470661e1 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Change a method name which enumerates CI/CD statuses

parent 0605cdd7
......@@ -4,7 +4,7 @@ module Ci
include Importable
include HasStatus
enumerated_status!
enumerate_status!
belongs_to :project
belongs_to :pipeline
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment