diff options
Diffstat (limited to 'spec/features/boards')
-rw-r--r-- | spec/features/boards/add_issues_modal_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/features/boards/add_issues_modal_spec.rb b/spec/features/boards/add_issues_modal_spec.rb index 00efca5d3a8..f941adca233 100644 --- a/spec/features/boards/add_issues_modal_spec.rb +++ b/spec/features/boards/add_issues_modal_spec.rb @@ -87,11 +87,12 @@ RSpec.describe 'Issue Boards add issue modal', :js do end end - it 'shows selected issues' do + it 'shows selected issues tab and empty state message' do page.within('.add-issues-modal') do click_link 'Selected issues' expect(page).not_to have_selector('.board-card') + expect(page).to have_content("Go back to Open issues and select some issues to add to your board.") end end @@ -147,7 +148,7 @@ RSpec.describe 'Issue Boards add issue modal', :js do end end - context 'selecing issues' do + context 'selecting issues' do it 'selects single issue' do page.within('.add-issues-modal') do first('.board-card .board-card-number').click @@ -206,7 +207,7 @@ RSpec.describe 'Issue Boards add issue modal', :js do end end - it 'selects all that arent already selected' do + it "selects all that aren't already selected" do page.within('.add-issues-modal') do first('.board-card .board-card-number').click |