Fix coding standards in specs

This commit is contained in:
Thibault Jouan
2014-04-01 19:14:11 +00:00
parent e6f6475705
commit 2acf0371b5
10 changed files with 16 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ describe Track do
it 'builds a new related sound with the file' do
sounds = double 'sounds association proxy'
allow(track).to receive(:sounds) { sounds }
expect(sounds).to receive(:build).with({file: file})
expect(sounds).to receive(:build).with(file: file)
track.file = file
end
end