summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-05-08 13:05:56 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-05-08 14:35:28 -0500
commit84f0e1c98f2187a3f4f296ea76be8dc40e2854f0 (patch)
treee94f343a15b95a1fdd8aa91e3cb28e1844d4a2df /spec
parent55f180d2f9b68612d20585144ee89e1d8d103964 (diff)
downloadgitlab-ce-84f0e1c98f2187a3f4f296ea76be8dc40e2854f0.tar.gz
Fix admin runners spec
Diffstat (limited to 'spec')
-rw-r--r--spec/features/admin/admin_runners_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/admin/admin_runners_spec.rb b/spec/features/admin/admin_runners_spec.rb
index 3465ccfc423..c33014cbb31 100644
--- a/spec/features/admin/admin_runners_spec.rb
+++ b/spec/features/admin/admin_runners_spec.rb
@@ -68,7 +68,7 @@ describe "Admin Runners" do
visit admin_runners_path
within "#runner_#{runner.id}" do
- expect(page).to have_selector '.label', text: 'group'
+ expect(page).to have_selector '.badge', text: 'group'
expect(page).to have_text 'n/a'
end
end
@@ -81,7 +81,7 @@ describe "Admin Runners" do
visit admin_runners_path
within "#runner_#{runner.id}" do
- expect(page).to have_selector '.label', text: 'shared'
+ expect(page).to have_selector '.badge', text: 'shared'
expect(page).to have_text 'n/a'
end
end
@@ -95,7 +95,7 @@ describe "Admin Runners" do
visit admin_runners_path
within "#runner_#{runner.id}" do
- expect(page).to have_selector '.label', text: 'specific'
+ expect(page).to have_selector '.badge', text: 'specific'
expect(page).to have_text '1'
end
end