Implement Event Ratings
This commit is contained in:
parent
5be1ad52ee
commit
20f4853487
67 changed files with 1298 additions and 378 deletions
|
|
@ -12,19 +12,5 @@ feature Program do
|
|||
sign_in organizer
|
||||
end
|
||||
|
||||
scenario 'changes rating', feature: true, js: true do
|
||||
visit admin_conference_program_path(conference.short_title)
|
||||
|
||||
click_link 'Edit'
|
||||
|
||||
fill_in 'program_rating', with: '4'
|
||||
|
||||
click_button 'Update Program'
|
||||
|
||||
# Validations
|
||||
expect(flash)
|
||||
.to eq('The program was successfully updated.')
|
||||
expect(find('#rating').text).to eq('4')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue