Commit 84f0e1c9 authored by Clement Ho's avatar Clement Ho

Fix admin runners spec

parent 55f180d2
...@@ -68,7 +68,7 @@ describe "Admin Runners" do ...@@ -68,7 +68,7 @@ describe "Admin Runners" do
visit admin_runners_path visit admin_runners_path
within "#runner_#{runner.id}" do 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' expect(page).to have_text 'n/a'
end end
end end
...@@ -81,7 +81,7 @@ describe "Admin Runners" do ...@@ -81,7 +81,7 @@ describe "Admin Runners" do
visit admin_runners_path visit admin_runners_path
within "#runner_#{runner.id}" do 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' expect(page).to have_text 'n/a'
end end
end end
...@@ -95,7 +95,7 @@ describe "Admin Runners" do ...@@ -95,7 +95,7 @@ describe "Admin Runners" do
visit admin_runners_path visit admin_runners_path
within "#runner_#{runner.id}" do 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' expect(page).to have_text '1'
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment