2020-06-23 00:09:42 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe GitlabSchema.types['ContainerExpirationPolicyKeepEnum'] do
|
2020-06-23 00:09:42 +05:30
|
|
|
let_it_be(:expected_values) { %w[ONE_TAG FIVE_TAGS TEN_TAGS TWENTY_FIVE_TAGS FIFTY_TAGS ONE_HUNDRED_TAGS] }
|
|
|
|
|
|
|
|
it_behaves_like 'exposing container expiration policy option', :keep_n
|
|
|
|
end
|