remove spec test that is broken and not really useful

This commit is contained in:
wvengen 2013-07-25 00:07:39 +02:00
parent ebf71ad494
commit 1e986e704a

View file

@ -43,20 +43,6 @@ describe GroupOrderArticle do
expect(goa.tolerance).to eq(0) expect(goa.tolerance).to eq(0)
end end
it 'keeps track of article quantities' do
startq = startt = nil
for i in 0..6 do
goa.group_order_article_quantities.count == i
quantity, tolerance = rand(1..100), rand(0..100)
goa.update_quantities(quantity, tolerance)
startq.nil? and startq = quantity
startt.nil? and startt = tolerance
end
goaq = goa.group_order_article_quantities.last
expect(goaq.quantity).to eq(startq)
expect(goaq.tolerance).to eq(startt)
end
end end
end end