Merge pull request #907 from sonalkr132/proposal-test

Proposal controller improvements and test
This commit is contained in:
Henne Vogelsang 2016-04-01 14:49:50 +02:00
commit f56fc0052f
6 changed files with 617 additions and 43 deletions

View file

@ -60,6 +60,7 @@ describe 'User' do
it{ should_not be_able_to(:show, commercial_event_unconfirmed)}
it{ should be_able_to(:show, User)}
it{ should be_able_to(:create, User)}
it{ should be_able_to(:show, Registration.new)}
it{ should be_able_to(:create, Registration.new(conference_id: conference_with_open_registration.id))}