Commit 5a54fe16 authored by Kerri Miller's avatar Kerri Miller

Remove extraneous commented test setup

parent 33477c26
...@@ -735,12 +735,6 @@ RSpec.describe MergeRequestDiff do ...@@ -735,12 +735,6 @@ RSpec.describe MergeRequestDiff do
let(:merge_request) { create(:merge_request, source_branch: 'feature', target_branch: 'master') } let(:merge_request) { create(:merge_request, source_branch: 'feature', target_branch: 'master') }
let(:diff) { merge_request.merge_request_diff } let(:diff) { merge_request.merge_request_diff }
# before do
# # Temporarily unstub diff.modified_paths in favor of original code
# #
# allow(diff).to receive(:modified_paths).and_call_original
# end
context "when the merge_request_diff is overflowed" do context "when the merge_request_diff is overflowed" do
before do before do
expect(diff).to receive(:overflow?).and_return(true) expect(diff).to receive(:overflow?).and_return(true)
......
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