Commit b77fd28d authored by Phil Hughes's avatar Phil Hughes

Fixed failing rubocop

parent f4fe00e2
......@@ -5,10 +5,6 @@ require 'spec_helper'
RSpec.describe Projects::MergeRequests::DiffsController do
include ProjectForksHelper
before do
stub_feature_flags(diffs_gradual_load: false)
end
shared_examples '404 for unexistent diffable' do
context 'when diffable does not exists' do
it 'returns 404' do
......@@ -78,6 +74,8 @@ RSpec.describe Projects::MergeRequests::DiffsController do
let(:merge_request) { create(:merge_request_with_diffs, target_project: project, source_project: project) }
before do
stub_feature_flags(diffs_gradual_load: false)
project.add_maintainer(user)
sign_in(user)
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