diff options
Diffstat (limited to 'spec/services/container_expiration_policy_service_spec.rb')
-rw-r--r-- | spec/services/container_expiration_policy_service_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/services/container_expiration_policy_service_spec.rb b/spec/services/container_expiration_policy_service_spec.rb index 4294e6b3f06..41dd890dd35 100644 --- a/spec/services/container_expiration_policy_service_spec.rb +++ b/spec/services/container_expiration_policy_service_spec.rb @@ -5,6 +5,7 @@ require 'spec_helper' RSpec.describe ContainerExpirationPolicyService do let_it_be(:user) { create(:user) } let_it_be(:container_expiration_policy) { create(:container_expiration_policy, :runnable) } + let(:project) { container_expiration_policy.project } let(:container_repository) { create(:container_repository, project: project) } |