diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/container_expiration_policy_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/container_expiration_policy_spec.rb b/spec/models/container_expiration_policy_spec.rb index 15096ae8a8b..1bce4c3b20a 100644 --- a/spec/models/container_expiration_policy_spec.rb +++ b/spec/models/container_expiration_policy_spec.rb @@ -43,8 +43,7 @@ RSpec.describe ContainerExpirationPolicy, type: :model do subject { described_class.preloaded } before do - # container_expiration_policies are created for every new project - create_list(:project, 3) + create_list(:container_expiration_policy, 3) end it 'preloads the associations' do |