Commit a46af619 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'fix_container_expiration_policy_preloaded_spec' into 'master'

Fix order-dependent spec

Closes #196398

See merge request gitlab-org/gitlab!22851
parents 6582f491 7003d2c6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment