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:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-06-13 17:44:59 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-06-13 17:44:59 +0300
commitf195a7436d8848cccc8888f2de047547fa9eb94f (patch)
tree9f5b853bf8abbf73e71a38776488c0166b19bd04 /spec
parent0e2577229d8e12fdb02a156fcc6672ebc6bb3f5d (diff)
RawBlame only called through Gitaly
Closes https://gitlab.com/gitlab-org/gitaly/issues/376
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/git/blame_spec.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/lib/gitlab/git/blame_spec.rb b/spec/lib/gitlab/git/blame_spec.rb
index 793228701cf..ba790b717ae 100644
--- a/spec/lib/gitlab/git/blame_spec.rb
+++ b/spec/lib/gitlab/git/blame_spec.rb
@@ -7,7 +7,7 @@ describe Gitlab::Git::Blame, seed_helper: true do
Gitlab::Git::Blame.new(repository, SeedRepo::Commit::ID, "CONTRIBUTING.md")
end
- shared_examples 'blaming a file' do
+ describe 'blaming a file' do
context "each count" do
it do
data = []
@@ -68,12 +68,4 @@ describe Gitlab::Git::Blame, seed_helper: true do
end
end
end
-
- context 'when Gitaly blame feature is enabled' do
- it_behaves_like 'blaming a file'
- end
-
- context 'when Gitaly blame feature is disabled', :skip_gitaly_mock do
- it_behaves_like 'blaming a file'
- end
end