diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2019-04-12 15:39:10 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2019-04-16 12:57:07 +0300 |
commit | 579fa8b8ec7eb38d40c96521f517c9dab8c3b97a (patch) | |
tree | a344ec76f90125b398a217e3315c7fcb0f7a8b7c /app/models | |
parent | a67b1c17a1284daf6e7f12d3f9c4a80fae59dde9 (diff) |
Rename CI related selectors
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project_services/mock_ci_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/mock_ci_service.rb b/app/models/project_services/mock_ci_service.rb index d8bba58dcbf..c5e5f4f6400 100644 --- a/app/models/project_services/mock_ci_service.rb +++ b/app/models/project_services/mock_ci_service.rb @@ -2,7 +2,7 @@ # For an example companion mocking service, see https://gitlab.com/gitlab-org/gitlab-mock-ci-service class MockCiService < CiService - ALLOWED_STATES = %w[failed canceled running pending success success_with_warnings skipped not_found].freeze + ALLOWED_STATES = %w[failed canceled running pending success success-with-warnings skipped not_found].freeze prop_accessor :mock_service_url validates :mock_service_url, presence: true, public_url: true, if: :activated? |