adding assertion to album_spec many association
This commit is contained in:
parent
f07bcb19da
commit
ff3dad2bff
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ describe Album do
|
|||
end
|
||||
|
||||
it 'has many photos' do
|
||||
album.associations[:photos].type == :many
|
||||
album.associations[:photos].type.should == :many
|
||||
end
|
||||
|
||||
context 'when an album has two attached images' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue