Commit 7577fdbc authored by Luke Bennett's avatar Luke Bennett

Fix no assignee text in sidebar_spec

parent ca3e7e44
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
<i aria-hidden="true" data-hidden="true" class="fa fa-exclamation-triangle"></i> <i aria-hidden="true" data-hidden="true" class="fa fa-exclamation-triangle"></i>
</span> </span>
<template v-if="hasNoUsers"> <template v-if="hasNoUsers">
<span class="assign-yourself no-value"> <span class="assign-yourself no-value qa-assign-yourself">
None None
<template v-if="editable"> <template v-if="editable">
- <button type="button" class="btn-link" @click="assignSelf">assign yourself</button> - <button type="button" class="btn-link" @click="assignSelf">assign yourself</button>
......
...@@ -91,7 +91,7 @@ describe 'Issue Boards', :js do ...@@ -91,7 +91,7 @@ describe 'Issue Boards', :js do
wait_for_requests wait_for_requests
expect(page).to have_content('No assignee') expect(find('.qa-assign-yourself')).to have_content('None')
end end
expect(card_two).not_to have_selector('.avatar') expect(card_two).not_to have_selector('.avatar')
...@@ -101,7 +101,7 @@ describe 'Issue Boards', :js do ...@@ -101,7 +101,7 @@ describe 'Issue Boards', :js do
click_card(card2) click_card(card2)
page.within(find('.assignee')) do page.within(find('.assignee')) do
expect(page).to have_content('No assignee') expect(find('.qa-assign-yourself')).to have_content('None')
click_button 'assign yourself' click_button 'assign yourself'
......
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