Fix admin runners spec

This commit is contained in:
Clement Ho 2018-05-08 13:05:56 -05:00
parent 55f180d2f9
commit 84f0e1c98f
1 changed files with 3 additions and 3 deletions

View File

@ -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