fix small test bug

This commit is contained in:
wvengen 2013-07-15 00:22:20 +02:00
parent acd18721aa
commit cc6a188f4e

View file

@ -10,7 +10,7 @@ describe Supplier do
it 'has valid articles' do it 'has valid articles' do
supplier = FactoryGirl.create :supplier, article_count: true supplier = FactoryGirl.create :supplier, article_count: true
supplier.articles.all.should be_valid supplier.articles.all.each {|a| a.should be_valid }
end end
end end