From 5ad221eb7ee48f57c3870c342de39a4c19487c66 Mon Sep 17 00:00:00 2001 From: Chrisbr Date: Tue, 13 May 2014 09:01:05 +0200 Subject: [PATCH] renaming proposal feature tests --- spec/features/proposal_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/features/proposal_spec.rb b/spec/features/proposal_spec.rb index 3f4a2050..5d032dd0 100644 --- a/spec/features/proposal_spec.rb +++ b/spec/features/proposal_spec.rb @@ -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