Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-06-28 10:44:38 +0300
committerDouwe Maan <douwe@gitlab.com>2018-06-28 10:44:38 +0300
commitc9de5be58e8c688e6ec6381ee990837b75946a9e (patch)
treedf823bd4a68d65d6a92f7673484d2d142bcebd87 /spec
parent19f2dfc3d5fce2de5efa56163cad6e56485977f5 (diff)
parentbe5e6d586f48de0a57d7eed702214d2f428ece71 (diff)
Merge branch 'gitaly-mandatory-20180627-jv' into 'master'
Make Gitaly search and message RPC's mandatory Closes gitaly#1202, gitaly#1201, gitaly#1199, gitaly#1198, and gitaly#951 See merge request gitlab-org/gitlab-ce!20210
Diffstat (limited to 'spec')
-rw-r--r--spec/models/repository_spec.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb
index c7e751130d8..27a14ff5d5b 100644
--- a/spec/models/repository_spec.rb
+++ b/spec/models/repository_spec.rb
@@ -664,7 +664,7 @@ describe Repository do
end
end
- shared_examples "search_files_by_content" do
+ describe "search_files_by_content" do
let(:results) { repository.search_files_by_content('feature', 'master') }
subject { results }
@@ -711,7 +711,7 @@ describe Repository do
end
end
- shared_examples "search_files_by_name" do
+ describe "search_files_by_name" do
let(:results) { repository.search_files_by_name('files', 'master') }
it 'returns result' do
@@ -751,16 +751,6 @@ describe Repository do
end
end
- describe 'with gitaly enabled' do
- it_behaves_like 'search_files_by_content'
- it_behaves_like 'search_files_by_name'
- end
-
- describe 'with gitaly disabled', :disable_gitaly do
- it_behaves_like 'search_files_by_content'
- it_behaves_like 'search_files_by_name'
- end
-
describe '#async_remove_remote' do
before do
masterrev = repository.find_branch('master').dereferenced_target