Remove description when creating valuator from index
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user