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

@ -1,6 +1,6 @@
.row
.col-md-12
= semantic_form_for(@registration, :url => register_conference_path(@conference.short_title), :html => { :method => :put }) do |f|
= semantic_form_for(@registration, :url => register_conference_path(@conference.short_title), :html => { :method => :patch }) do |f|
.tabbable
%ul.nav.nav-tabs
%li.active
@ -19,4 +19,4 @@
= link_to "Unregister", register_conference_path(@conference.short_title),:method => :delete, :class => "btn btn-danger",
:confirm => "Are you sure you want to unregister?"
- else
= f.action :submit, :button_html => { :value => "Register", :class => "btn btn-primary" }
= f.action :submit, :button_html => { :value => "Register", :class => "btn btn-primary", id: 'register' }