summaryrefslogtreecommitdiff
path: root/spec/features/projects/diffs
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-19 15:09:10 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-19 15:09:10 +0000
commit9c8e8b5ffc6e11d827fa42f2dce5f90c4dc19493 (patch)
treefef494515627439a22a06addc7ff5f57d418778a /spec/features/projects/diffs
parent690c904b5e340f14c04f93ff688b647b46f7d1a2 (diff)
downloadgitlab-ce-9c8e8b5ffc6e11d827fa42f2dce5f90c4dc19493.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/diffs')
-rw-r--r--spec/features/projects/diffs/diff_show_spec.rb4
1 files changed, 2 insertions, 2 deletions
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