Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/shared/issuable/_sidebar.html.haml_spec.rb')
-rw-r--r--spec/views/shared/issuable/_sidebar.html.haml_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/views/shared/issuable/_sidebar.html.haml_spec.rb b/spec/views/shared/issuable/_sidebar.html.haml_spec.rb
index 43a723dbb2c..31f79c25073 100644
--- a/spec/views/shared/issuable/_sidebar.html.haml_spec.rb
+++ b/spec/views/shared/issuable/_sidebar.html.haml_spec.rb
@@ -43,7 +43,7 @@ RSpec.describe 'shared/issuable/_sidebar.html.haml' do
it 'is expected not to be shown' do
create(:contact, group: group)
- expect(rendered).not_to have_css('#js-issue-crm-contacts')
+ expect(rendered).not_to have_css('.js-sidebar-crm-contacts-root')
end
end
@@ -51,7 +51,7 @@ RSpec.describe 'shared/issuable/_sidebar.html.haml' do
it 'is expected not to be shown' do
group.add_developer(user)
- expect(rendered).not_to have_css('#js-issue-crm-contacts')
+ expect(rendered).not_to have_css('.js-sidebar-crm-contacts-root')
end
end
@@ -60,7 +60,7 @@ RSpec.describe 'shared/issuable/_sidebar.html.haml' do
create(:contact, group: group)
group.add_developer(user)
- expect(rendered).to have_css('#js-issue-crm-contacts')
+ expect(rendered).to have_css('.js-sidebar-crm-contacts-root')
end
end
end