adding assertion to album_spec many association

This commit is contained in:
ilya 2010-10-24 14:03:03 -07:00
parent f07bcb19da
commit ff3dad2bff

View file

@ -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