diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-11 08:18:04 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-06-11 08:18:04 +0000 |
commit | 6050b348d72a82bd2373d45fbd33ac693cd80d42 (patch) | |
tree | ff1fd4b5ab2c83b2c3ed2d30e93ad9cf898f8ebd /spec/requests | |
parent | 338c7b31baba174971cead6843c847aabad2c1b2 (diff) | |
parent | 15ba85ab8e6c0f3dd18663233fd86bcb3bde4e73 (diff) | |
download | gitlab-ce-6050b348d72a82bd2373d45fbd33ac693cd80d42.tar.gz |
Merge branch 'dz-cleanup-deprecated-code' into 'master'
Remove some deprecated code
See merge request gitlab-org/gitlab-ce!29222
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/issues/issues_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/requests/api/issues/issues_spec.rb b/spec/requests/api/issues/issues_spec.rb index 9b9cc778fb3..f32ffd1c77b 100644 --- a/spec/requests/api/issues/issues_spec.rb +++ b/spec/requests/api/issues/issues_spec.rb @@ -276,14 +276,6 @@ describe API::Issues do it 'returns issues with no assignee' do issue2 = create(:issue, author: user2, project: project) - get api('/issues', user), params: { assignee_id: 0, scope: 'all' } - - expect_paginated_array_response(issue2.id) - end - - it 'returns issues with no assignee' do - issue2 = create(:issue, author: user2, project: project) - get api('/issues', user), params: { assignee_id: 'None', scope: 'all' } expect_paginated_array_response(issue2.id) @@ -496,18 +488,6 @@ describe API::Issues do expect_paginated_array_response(closed_issue.id) end - - it 'returns an array of issues with no label when using the legacy No+Label filter' do - get api('/issues', user), params: { labels: 'No Label' } - - expect_paginated_array_response(closed_issue.id) - end - - it 'returns an array of issues with no label when using the legacy No+Label filter with labels param as array' do - get api('/issues', user), params: { labels: ['No Label'] } - - expect_paginated_array_response(closed_issue.id) - end end it 'returns an empty array if no issue matches milestone' do |