fix small test bug
This commit is contained in:
parent
acd18721aa
commit
cc6a188f4e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue