From 9c8e8b5ffc6e11d827fa42f2dce5f90c4dc19493 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 19 Jul 2022 15:09:10 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/features/projects/diffs/diff_show_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/features/projects/diffs') diff --git a/spec/features/projects/diffs/diff_show_spec.rb b/spec/features/projects/diffs/diff_show_spec.rb index 56506ada3ce..dcd6f1239bb 100644 --- a/spec/features/projects/diffs/diff_show_spec.rb +++ b/spec/features/projects/diffs/diff_show_spec.rb @@ -169,8 +169,8 @@ RSpec.describe 'Diff file viewer', :js, :with_clean_rails_cache do wait_for_requests end - it 'shows there is no preview' do - expect(page).to have_content('No preview for this file type') + it 'shows that file was added' do + expect(page).to have_content('File added') end end end -- cgit v1.2.1