Commit a9cca44a authored by Stan Hu's avatar Stan Hu

Merge branch 'kerrizor/remove-extraneous-commented-code-in-test' into 'master'

Remove extraneous commented test setup

See merge request gitlab-org/gitlab!38599
parents aa6f7e85 5a54fe16
......@@ -735,12 +735,6 @@ RSpec.describe MergeRequestDiff do
let(:merge_request) { create(:merge_request, source_branch: 'feature', target_branch: 'master') }
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
before do
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