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['ContainerExpirationPolicyOlderThanEnum'] do
|
2020-05-28 00:08:37 +00:00
|
|
|
let_it_be(:expected_values) { %w[SEVEN_DAYS FOURTEEN_DAYS THIRTY_DAYS NINETY_DAYS] }
|
|
|
|
|
|
|
|
it_behaves_like 'exposing container expiration policy option', :older_than
|
|
|
|
end
|