From ff3dad2bff9850299fbd079617bca9a6c739a4ac Mon Sep 17 00:00:00 2001 From: ilya <ilya@laptop.(none)> Date: Sun, 24 Oct 2010 14:03:03 -0700 Subject: [PATCH] adding assertion to album_spec many association --- spec/models/album_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/album_spec.rb b/spec/models/album_spec.rb index a47c6026de..e5b93593a4 100644 --- a/spec/models/album_spec.rb +++ b/spec/models/album_spec.rb @@ -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 -- GitLab