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/_label_row.html.haml_spec.rb')
-rw-r--r--spec/views/shared/_label_row.html.haml_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/views/shared/_label_row.html.haml_spec.rb b/spec/views/shared/_label_row.html.haml_spec.rb
index eb277930c1d..ef5a479d736 100644
--- a/spec/views/shared/_label_row.html.haml_spec.rb
+++ b/spec/views/shared/_label_row.html.haml_spec.rb
@@ -25,8 +25,8 @@ RSpec.describe 'shared/_label_row.html.haml' do
expect(rendered).to have_text(label.title)
end
- it 'has a non-linked label title' do
- expect(rendered).not_to have_link(label.title)
+ it 'has a linked label title' do
+ expect(rendered).to have_link(label.title)
end
it 'has Issues link' do
@@ -57,8 +57,8 @@ RSpec.describe 'shared/_label_row.html.haml' do
expect(rendered).to have_text(label.title)
end
- it 'has a non-linked label title' do
- expect(rendered).not_to have_link(label.title)
+ it 'has a linked label title' do
+ expect(rendered).to have_link(label.title)
end
it 'has Issues link' do
@@ -85,8 +85,8 @@ RSpec.describe 'shared/_label_row.html.haml' do
expect(rendered).to have_text(label.title)
end
- it 'has a non-linked label title' do
- expect(rendered).not_to have_link(label.title)
+ it 'has a linked label title' do
+ expect(rendered).to have_link(label.title)
end
it 'has Issues link' do
@@ -111,8 +111,8 @@ RSpec.describe 'shared/_label_row.html.haml' do
expect(rendered).to have_text(label.title)
end
- it 'has a non-linked label title' do
- expect(rendered).not_to have_link(label.title)
+ it 'has a linked label title' do
+ expect(rendered).to have_link(label.title)
end
it 'does not show Issues link' do