Remove incorrect mock() usage in specs

This commit is contained in:
Thibault Jouan 2014-04-01 04:58:39 +00:00
parent c1eaf98c02
commit d2b332215e

View File

@ -24,7 +24,7 @@ describe Track do
describe '#file=' do
it 'builds a new related sound with the file' do
sounds = mock('sounds association proxy')
sounds = double 'sounds association proxy'
track.stub(:sounds => sounds)
sounds.should_receive(:build).with({:file => file})
track.file = file