Implements feature test for proposal workflog

- submitt proposal
- accept proposal
- confirm proposal
This commit is contained in:
Chrisbr 2014-05-13 15:45:39 +02:00
parent 147310b8b7
commit 656ded9d96
6 changed files with 73 additions and 19 deletions

View file

@ -29,7 +29,10 @@
.pull-right
- if event.transition_possible? :confirm
= link_to 'Confirm',
conference_proposal_confirm_path(@conference.short_title, event, send_mail: false), method: :patch, class: 'btn btn-mini btn-success'
= link_to 'Edit', edit_conference_proposal_path(@conference.short_title, event.id), class: 'btn btn-mini btn-primary'
conference_proposal_confirm_path(@conference.short_title, event, send_mail: false),
method: :patch, class: 'btn btn-mini btn-success', id: 'confirm_proposal'
= link_to 'Edit', edit_conference_proposal_path(@conference.short_title, event.id),
class: 'btn btn-mini btn-primary', id: 'edit_proposal'
= link_to 'Withdraw', conference_proposal_path(@conference.short_title, event.id), method: :delete,
confirm: 'Are you sure you want to withdraw this proposal?', class: 'btn btn-mini btn-danger'
confirm: 'Are you sure you want to withdraw this proposal?', class: 'btn btn-mini btn-danger',
id: 'delete_proposal'