diff --git a/spec/helpers/participants_helper_spec.rb b/spec/helpers/participants_helper_spec.rb index d330b4937ec..56685778fa7 100644 --- a/spec/helpers/participants_helper_spec.rb +++ b/spec/helpers/participants_helper_spec.rb @@ -3,7 +3,7 @@ context 'when define_attributes is called' do #Checking if attributes have been correctly defined line_split = ['Test1','test@ncsu.edu'] - config = {'name'=>'0','fullname'=>'test2','email'=>'1'} + config = {'fullname'=>'test2','email'=>'1'} it 'returns correct hash "attributes" when define_attributes is called' do allow(Role).to receive(:find_by).with({:name=>'Student'}).and_return(1)