diff options
Diffstat (limited to 'spec/features/expand_collapse_diffs_spec.rb')
-rw-r--r-- | spec/features/expand_collapse_diffs_spec.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/features/expand_collapse_diffs_spec.rb b/spec/features/expand_collapse_diffs_spec.rb index 6b8df8467e5..e705f2916da 100644 --- a/spec/features/expand_collapse_diffs_spec.rb +++ b/spec/features/expand_collapse_diffs_spec.rb @@ -7,11 +7,6 @@ RSpec.describe 'Expand and collapse diffs', :js do let(:project) { create(:project, :repository) } before do - # Set the limits to those when these specs were written, to avoid having to - # update the test repo every time we change them. - allow(Gitlab::Git::Diff).to receive(:size_limit).and_return(100.kilobytes) - allow(Gitlab::Git::Diff).to receive(:collapse_limit).and_return(10.kilobytes) - sign_in(create(:admin)) # Ensure that undiffable.md is in .gitattributes |