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/lib
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-03-21 13:33:29 +0300
committerSean McGivern <sean@gitlab.com>2019-03-21 13:33:29 +0300
commita97ec84f0503b164e57e7f43b217ddfea864209f (patch)
tree739cf7435829eb1387c6d8da47df69f539b61b3f /spec/lib
parenta8bb2c1221e67b7a3d82c24aede072248d0f78e7 (diff)
Revert "Merge branch '58805-allow-incomplete-commit-data-to-be-fetched-from-collection' into 'master'"
This reverts merge request !26144
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/git/commit_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/lib/gitlab/git/commit_spec.rb b/spec/lib/gitlab/git/commit_spec.rb
index 4a4ac833e39..3fb41a626b2 100644
--- a/spec/lib/gitlab/git/commit_spec.rb
+++ b/spec/lib/gitlab/git/commit_spec.rb
@@ -537,18 +537,6 @@ describe Gitlab::Git::Commit, :seed_helper do
end
end
- describe '#gitaly_commit?' do
- context 'when the commit data comes from gitaly' do
- it { expect(commit.gitaly_commit?).to eq(true) }
- end
-
- context 'when the commit data comes from a Hash' do
- let(:commit) { described_class.new(repository, sample_commit_hash) }
-
- it { expect(commit.gitaly_commit?).to eq(false) }
- end
- end
-
describe '#has_zero_stats?' do
it { expect(commit.has_zero_stats?).to eq(false) }
end