Commit f39b4463 authored by Kerri Miller's avatar Kerri Miller

Remove send to respect privacy boundries

parent b303ea99
......@@ -11,7 +11,7 @@ describe Gitlab::Diff::FileCollection::MergeRequestDiff do
describe '#diff_files' do
context 'when decorate_diff_files is false' do
it 'does not attempt to decorate diff files' do
expect(subject.send(:cache)).not_to receive(:decorate)
expect_any_instance_of(Gitlab::Diff::HighlightCache).not_to receive(:decorate)
subject.diff_files(decorate_diff_files: false)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment