diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-14 12:09:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-14 12:09:23 +0300 |
commit | 7a7f602c2689ef1d204976b23a8e89bdf927e8e2 (patch) | |
tree | 5bd23ecff17955eddfb9c1426dc965c40213ecaf /spec/graphql | |
parent | aa6aa484ea38062f0038f67e0ff0e9fa5b4de8d3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/graphql')
-rw-r--r-- | spec/graphql/resolvers/board_lists_resolver_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/graphql/resolvers/board_lists_resolver_spec.rb b/spec/graphql/resolvers/board_lists_resolver_spec.rb index 0f6e51ebbd0..1de59c5f507 100644 --- a/spec/graphql/resolvers/board_lists_resolver_spec.rb +++ b/spec/graphql/resolvers/board_lists_resolver_spec.rb @@ -21,6 +21,7 @@ RSpec.describe Resolvers::BoardListsResolver do end it 'does not create the backlog list' do + board.lists.backlog.delete_all lists = resolve_board_lists expect(lists.count).to eq 1 @@ -35,7 +36,6 @@ RSpec.describe Resolvers::BoardListsResolver do context 'when authorized' do let!(:label_list) { create(:list, board: board, label: label) } - let!(:backlog_list) { create(:backlog_list, board: board) } it 'returns a list of board lists' do lists = resolve_board_lists |