blob: 752bf895d7450805282e82ff4da53093afca2396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Types::DeploymentTierEnum do
it 'includes a value for each supported environment tier' do
expect(described_class.values).to match(
'PRODUCTION' => have_attributes(value: :production),
'STAGING' => have_attributes(value: :staging),
'TESTING' => have_attributes(value: :testing),
'DEVELOPMENT' => have_attributes(value: :development),
'OTHER' => have_attributes(value: :other)
)
end
end
|