Add test for 'Delete Valuator' scenario

This commit is contained in:
Angel Perez
2017-10-26 16:24:17 -04:00
committed by Angel Perez
parent db86cc5216
commit 6e28e9a5be

View File

@@ -29,6 +29,14 @@ feature 'Admin valuators' do
end
end
scenario 'Delete Valuator' do
click_link 'Delete'
within('#valuators') do
expect(page).to_not have_content(@valuator.name)
end
end
context 'Search' do
background do