diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2017-05-05 16:55:12 +0200 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2017-05-13 18:27:06 +0200 |
commit | 99feed6e00e0f012f7e879a710e8b478b6160d2f (patch) | |
tree | 0246a5b1a494fcf4e59c17b0183cc2e614194b22 /spec/models | |
parent | aa6f44328ed22ebab51440a5a04f6b62d6471b78 (diff) | |
download | gitlab-ce-99feed6e00e0f012f7e879a710e8b478b6160d2f.tar.gz |
Add support for deltas_only under Gitaly
Closes gitaly#199
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/commit_spec.rb | 15 |
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 |