diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-06-13 17:44:59 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-06-13 17:44:59 +0300 |
commit | f195a7436d8848cccc8888f2de047547fa9eb94f (patch) | |
tree | 9f5b853bf8abbf73e71a38776488c0166b19bd04 /spec | |
parent | 0e2577229d8e12fdb02a156fcc6672ebc6bb3f5d (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.rb | 10 |
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 |