diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-31 15:10:47 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-31 15:10:47 +0000 |
commit | 6f18a8d0b00eae84d262dff137fddd9639f3c52a (patch) | |
tree | f6297c5a843ee6096e996f58c768e80232e2b610 /spec/features/projects/blobs | |
parent | c62dd5ae440db9ad4696000a863fbcb53fe83498 (diff) | |
download | gitlab-ce-6f18a8d0b00eae84d262dff137fddd9639f3c52a.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/blobs')
-rw-r--r-- | spec/features/projects/blobs/blob_show_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/blobs/blob_show_spec.rb b/spec/features/projects/blobs/blob_show_spec.rb index b7e0e3fd590..0c5985f7735 100644 --- a/spec/features/projects/blobs/blob_show_spec.rb +++ b/spec/features/projects/blobs/blob_show_spec.rb @@ -961,8 +961,8 @@ RSpec.describe 'File blob', :js, feature_category: :projects do end it 'renders sandboxed iframe' do - expected = %(<iframe src="/-/sandbox/swagger" sandbox="allow-scripts allow-popups allow-forms" frameborder="0" width="100%" height="1000">) - expect(page.html).to include(expected) + expected = %(iframe[src$="/-/sandbox/swagger"][sandbox="allow-scripts allow-popups allow-forms"][frameborder="0"][width="100%"][height="1000"]) + expect(page).to have_css(expected) end end end |