renaming proposal feature tests

This commit is contained in:
Chrisbr 2014-05-13 09:01:05 +02:00
parent 86c188a38a
commit 5ad221eb7e

View file

@ -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