diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-25 09:18:44 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-25 09:18:44 +0000 |
commit | af69e63b6655a450849a8fa2640ae6ce5a8db681 (patch) | |
tree | db12602500f5ece6ada7383180055389a9b3d319 /spec/models/design_management | |
parent | b7d907c10e1d0d23abffa6abc59764e292fb89f1 (diff) | |
download | gitlab-ce-af69e63b6655a450849a8fa2640ae6ce5a8db681.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/design_management')
-rw-r--r-- | spec/models/design_management/version_spec.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/spec/models/design_management/version_spec.rb b/spec/models/design_management/version_spec.rb index 8c0d7e99ae5..748bcbffd29 100644 --- a/spec/models/design_management/version_spec.rb +++ b/spec/models/design_management/version_spec.rb @@ -247,10 +247,12 @@ RSpec.describe DesignManagement::Version do context 'there are a bunch of different designs in a variety of states' do let_it_be(:version) do - create(:design_version, - created_designs: create_list(:design, 3), - modified_designs: create_list(:design, 4), - deleted_designs: create_list(:design, 5)) + create( + :design_version, + created_designs: create_list(:design, 3), + modified_designs: create_list(:design, 4), + deleted_designs: create_list(:design, 5) + ) end it 'puts them in the right buckets' do |