summaryrefslogtreecommitdiff
path: root/spec/views/layouts
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-30 03:09:54 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-30 03:09:54 +0000
commitc74f7b6ff54ab900d2585ff216cce78d619b183c (patch)
treed2841380127d6b3e2526b3cc47562c3cca4bc49a /spec/views/layouts
parentd210b1bee140e0f2c1f09635dd14a872e07a3100 (diff)
downloadgitlab-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.rb4
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