fix small test bug

This commit is contained in:
wvengen 2013-07-15 00:22:20 +02:00
parent acd18721aa
commit cc6a188f4e
1 changed files with 1 additions and 1 deletions

View File

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