summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-27 04:28:56 +0000
committerStan Hu <stanhu@gmail.com>2019-07-27 04:28:56 +0000
commitc41788fe54fecf113a31b1aa3238ea22ac1947d5 (patch)
tree44f2b0ab268dba1e96da487711ac47ad51d96c14 /spec/support
parent5861b9fd32435a0e691646e7ffef19dec2561ecf (diff)
downloadgitlab-ce-c41788fe54fecf113a31b1aa3238ea22ac1947d5.tar.gz
Revert "Merge branch '52123-issuable-actions-notesfinder-pderichs' into 'master'"
This reverts merge request !29733
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared_examples/discussions_provider_shared_examples.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/support/shared_examples/discussions_provider_shared_examples.rb b/spec/support/shared_examples/discussions_provider_shared_examples.rb
deleted file mode 100644
index 77cf1ac3f51..00000000000
--- a/spec/support/shared_examples/discussions_provider_shared_examples.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-shared_examples 'discussions provider' do
- it 'returns the expected discussions' do
- get :discussions, params: { namespace_id: project.namespace, project_id: project, id: requested_iid }
-
- expect(response).to have_gitlab_http_status(200)
- expect(response).to match_response_schema('entities/discussions')
-
- expect(json_response.size).to eq(expected_discussion_count)
- expect(json_response.pluck('id')).to eq(expected_discussion_ids)
- end
-end