diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-23 15:11:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-23 15:11:54 +0300 |
commit | e10ea43772b9a6be150a074be7e26bfd6fa0380e (patch) | |
tree | 97bd1bb8fe3f656b5f2480d83b7dc9e369092d74 /spec/views | |
parent | 1f8c5a116bebd31650ef414c7b762ba91b8cc251 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/projects/commit/show.html.haml_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/views/projects/commit/show.html.haml_spec.rb b/spec/views/projects/commit/show.html.haml_spec.rb index eba54628215..6d2237e773e 100644 --- a/spec/views/projects/commit/show.html.haml_spec.rb +++ b/spec/views/projects/commit/show.html.haml_spec.rb @@ -28,19 +28,6 @@ RSpec.describe 'projects/commit/show.html.haml', feature_category: :source_code_ allow(view).to receive(:pagination_params).and_return({}) end - context 'inline diff view' do - before do - allow(view).to receive(:diff_view).and_return(:inline) - allow(view).to receive(:diff_view).and_return(:inline) - - render - end - - it 'has limited width' do - expect(rendered).to have_selector('.limit-container-width') - end - end - context 'parallel diff view' do before do allow(view).to receive(:diff_view).and_return(:parallel) |