Skip to content

Commit

Permalink
helper change
Browse files Browse the repository at this point in the history
  • Loading branch information
Manav Patel committed Oct 27, 2024
1 parent 60d2730 commit 4bd303f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/helpers/participants_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
context 'when define_attributes is called' do
#Checking if attributes have been correctly defined
line_split = ['Test1','[email protected]']
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)
Expand Down

0 comments on commit 4bd303f

Please sign in to comment.