Skip to content
Snippets Groups Projects
Commit ff3dad2b authored by ilya's avatar ilya
Browse files

adding assertion to album_spec many association

parent f07bcb19
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment