redux of valuators creation form

This commit is contained in:
Juanjo Bazán
2016-03-15 15:31:08 +01:00
committed by Juanjo Bazán
parent 57fba7c0df
commit 4546af5be1
8 changed files with 47 additions and 14 deletions

View File

@@ -20,9 +20,12 @@ feature 'Admin valuators' do
click_button 'Search'
expect(page).to have_content @user.name
click_link 'Add'
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