Remove description when creating valuator from index

This commit is contained in:
rgarcia
2018-02-09 21:13:14 +01:00
parent 7e839e7815
commit fcb377c9e5
4 changed files with 4 additions and 8 deletions

View File

@@ -28,12 +28,10 @@ feature 'Admin valuators' do
click_button 'Search'
expect(page).to have_content(@user.name)
fill_in 'valuator_description', with: 'environmental expert'
click_button 'Add to valuators'
within('#valuators') do
expect(page).to have_content(@user.name)
expect(page).to have_content('environmental expert')
end
end