diff options
Diffstat (limited to 'spec/models/project_services/jira_tracker_data_spec.rb')
-rw-r--r-- | spec/models/project_services/jira_tracker_data_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/project_services/jira_tracker_data_spec.rb b/spec/models/project_services/jira_tracker_data_spec.rb index 9e38bced46c..f2e2fa65e93 100644 --- a/spec/models/project_services/jira_tracker_data_spec.rb +++ b/spec/models/project_services/jira_tracker_data_spec.rb @@ -8,4 +8,8 @@ RSpec.describe JiraTrackerData do describe 'Associations' do it { is_expected.to belong_to(:service) } end + + describe 'deployment_type' do + it { is_expected.to define_enum_for(:deployment_type).with_values([:unknown, :server, :cloud]).with_prefix(:deployment) } + end end |