summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2017-05-05 16:55:12 +0200
committerAhmad Sherif <me@ahmadsherif.com>2017-05-13 18:27:06 +0200
commit99feed6e00e0f012f7e879a710e8b478b6160d2f (patch)
tree0246a5b1a494fcf4e59c17b0183cc2e614194b22 /spec/models/commit_spec.rb
parentaa6f44328ed22ebab51440a5a04f6b62d6471b78 (diff)
downloadgitlab-ce-99feed6e00e0f012f7e879a710e8b478b6160d2f.tar.gz
Add support for deltas_only under Gitaly
Closes gitaly#199
Diffstat (limited to 'spec/models/commit_spec.rb')
-rw-r--r--spec/models/commit_spec.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb
index 131fea8be43..72f83d63224 100644
--- a/spec/models/commit_spec.rb
+++ b/spec/models/commit_spec.rb
@@ -388,19 +388,4 @@ eos
expect(described_class.valid_hash?('a' * 41)).to be false
end
end
-
- describe '#raw_diffs' do
- context 'Gitaly commit_raw_diffs feature enabled' do
- before do
- allow(Gitlab::GitalyClient).to receive(:feature_enabled?).with(:commit_raw_diffs).and_return(true)
- end
-
- it 'fetches diffs from Gitaly server' do
- expect(Gitlab::GitalyClient::Commit).to receive(:diff_from_parent).
- with(commit)
-
- commit.raw_diffs
- end
- end
- end
end