Request a booth only when cfp is open

This commit is contained in:
nasia 2017-08-16 11:42:57 +03:00 committed by Stella Rouzi
parent 8b5ebb3dd7
commit 703813248d
3 changed files with 13 additions and 1 deletions

View file

@ -8,6 +8,7 @@ describe BoothsController do
context 'user is signed in with submitter role' do
before :each do
create(:cfp, program: conference.program, cfp_type: 'booths')
sign_in booth.submitter
end