Tests for ConferenceRegistrations controller
Authorization needs to be done first or else it will give CanCan::AuthorizationNotPerformed error for some of branches. Removed if condition is dead code. Small fix in flash message of destroy and its feature test.
This commit is contained in:
parent
13a6586f81
commit
5bff60ec7d
4 changed files with 314 additions and 18 deletions
|
|
@ -4,5 +4,6 @@ FactoryGirl.define do
|
|||
factory :registration do
|
||||
user
|
||||
conference
|
||||
arrival 3.days.ago
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue