diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-18 12:09:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-18 12:09:32 +0300 |
commit | a8b87b4fe0ebd38c0f1d7789ae768a6bcacb6c51 (patch) | |
tree | c1526cfec8ac3d9189188e08265ef1110419f643 /spec/features/expand_collapse_diffs_spec.rb | |
parent | 0115b63f646be489bb9685dad0e4b0747a79de05 (diff) |
Add latest changes from gitlab-org/gitlab@master
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 |