2019-05-22 15:47:42 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 18:09:03 +00:00
|
|
|
RSpec.describe JiraTrackerData do
|
2020-07-15 15:09:21 +00:00
|
|
|
let(:service) { build(:jira_service) }
|
2019-05-22 15:47:42 +00:00
|
|
|
|
|
|
|
describe 'Associations' do
|
|
|
|
it { is_expected.to belong_to(:service) }
|
|
|
|
end
|
2020-08-12 00:09:52 +00:00
|
|
|
|
|
|
|
describe 'deployment_type' do
|
|
|
|
it { is_expected.to define_enum_for(:deployment_type).with_values([:unknown, :server, :cloud]).with_prefix(:deployment) }
|
|
|
|
end
|
2019-05-22 15:47:42 +00:00
|
|
|
end
|