verify user if accessing admin area. Testing: setup organizer_conference_1_role
This commit is contained in:
parent
ab17e6db11
commit
940f76bf13
22 changed files with 91 additions and 62 deletions
|
|
@ -3,8 +3,8 @@ require 'spec_helper'
|
|||
feature Conference do
|
||||
# It is necessary to use bang version of let to build roles before user
|
||||
let!(:participant_role) { create(:participant_role) }
|
||||
let!(:organizer_role) { create(:organizer_role) }
|
||||
let(:organizer) { create(:organizer) }
|
||||
let!(:organizer_conference_1_role) { create(:organizer_conference_1_role) }
|
||||
let(:organizer) { create(:organizer_conference_1) }
|
||||
let(:conference) { create(:conference) }
|
||||
|
||||
shared_examples 'volunteer' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue