mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Check CfP existence in proposal form
This commit is contained in:
parent
823f41427f
commit
cb7519f7a4
2 changed files with 12 additions and 1 deletions
|
|
@ -91,6 +91,17 @@ feature Event do
|
|||
expect(User.count).to eq(expected_count_user)
|
||||
end
|
||||
|
||||
scenario 'edit proposal without cfp' do
|
||||
conference = create(:conference)
|
||||
proposal = create(:event, program: conference.program)
|
||||
|
||||
sign_in proposal.submitter
|
||||
|
||||
visit edit_conference_program_proposal_path(proposal.program.conference.short_title, proposal)
|
||||
|
||||
expect(page).to have_content 'Proposal Information'
|
||||
end
|
||||
|
||||
scenario 'update a proposal' do
|
||||
conference = create(:conference)
|
||||
create(:cfp, program: conference.program)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue