mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
renaming proposal feature tests
This commit is contained in:
parent
86c188a38a
commit
5ad221eb7e
1 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@ require 'spec_helper'
|
|||
|
||||
feature Event do
|
||||
|
||||
shared_examples 'participant' do |user|
|
||||
shared_examples 'proposal' do |user|
|
||||
scenario 'submitts a new proposal and updates account', feature: true, js: true do
|
||||
expected_count = Event.count + 1
|
||||
conference = create(:conference)
|
||||
|
|
@ -43,9 +43,9 @@ feature Event do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'participant' do
|
||||
it_behaves_like 'participant', :participant
|
||||
it_behaves_like 'participant', :organizer
|
||||
it_behaves_like 'participant', :admin
|
||||
describe 'proposal workflow' do
|
||||
it_behaves_like 'proposal', :participant
|
||||
it_behaves_like 'proposal', :organizer
|
||||
it_behaves_like 'proposal', :admin
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue