Add a switch for allowing registration on events (proposals)
This commit is contained in:
parent
75bf1380ba
commit
03f7951676
10 changed files with 30 additions and 9 deletions
|
|
@ -5,6 +5,7 @@ require 'spec_helper'
|
|||
feature Commercial do
|
||||
# It is necessary to use bang version of let to build roles before user
|
||||
let!(:conference) { create(:conference) }
|
||||
let!(:cfp) { create(:cfp, program: conference.program) }
|
||||
let!(:organizer_role) { Role.find_by(name: 'organizer', resource: conference) }
|
||||
let!(:organizer) { create(:user, role_ids: [organizer_role.id]) }
|
||||
let!(:participant) { create(:user) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue