Commit 8000604d authored by Nick Thomas's avatar Nick Thomas

Fix some EE-only specs

parent df070ba6
...@@ -184,7 +184,7 @@ describe 'Scoped issue boards', :js do ...@@ -184,7 +184,7 @@ describe 'Scoped issue boards', :js do
it 'edits board name' do it 'edits board name' do
edit_board.click edit_board.click
page.within('.popup-dialog') do page.within('.modal') do
fill_in 'board-new-name', with: 'Testing' fill_in 'board-new-name', with: 'Testing'
click_button 'Save' click_button 'Save'
...@@ -396,7 +396,7 @@ describe 'Scoped issue boards', :js do ...@@ -396,7 +396,7 @@ describe 'Scoped issue boards', :js do
it 'can view board scope' do it 'can view board scope' do
view_scope.click view_scope.click
page.within('.popup-dialog') do page.within('.modal') do
expect(find('.modal-header')).to have_content('Board scope') expect(find('.modal-header')).to have_content('Board scope')
expect(page).not_to have_content('Board name') expect(page).not_to have_content('Board name')
expect(page).not_to have_link('Edit') expect(page).not_to have_link('Edit')
......
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