2020-05-28 00:08:37 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.describe GitlabSchema.types['ContainerExpirationPolicyKeepEnum'] do
|
2020-05-28 00:08:37 +00:00
|
|
|
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
|