diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-30 03:09:54 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-30 03:09:54 +0000 |
commit | c74f7b6ff54ab900d2585ff216cce78d619b183c (patch) | |
tree | d2841380127d6b3e2526b3cc47562c3cca4bc49a /spec/views/layouts | |
parent | d210b1bee140e0f2c1f09635dd14a872e07a3100 (diff) | |
download | gitlab-ce-c74f7b6ff54ab900d2585ff216cce78d619b183c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/layouts')
-rw-r--r-- | spec/views/layouts/_flash.html.haml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/layouts/_flash.html.haml_spec.rb b/spec/views/layouts/_flash.html.haml_spec.rb index 437cb940c9e..d88977b194a 100644 --- a/spec/views/layouts/_flash.html.haml_spec.rb +++ b/spec/views/layouts/_flash.html.haml_spec.rb @@ -28,7 +28,7 @@ RSpec.describe 'layouts/_flash' do let(:flash) { { flash_type => 'This is a closable flash message' } } it 'shows a close button' do - expect(rendered).to include('js-close-icon') + expect(rendered).to include('js-close') end end end @@ -42,7 +42,7 @@ RSpec.describe 'layouts/_flash' do let(:flash) { { flash_type => 'This is a non closable flash message' } } it 'does not show a close button' do - expect(rendered).not_to include('js-close-icon') + expect(rendered).not_to include('js-close') end end end |