Fix failing test
This commit is contained in:
parent
83d74e7eda
commit
a6ea7450c5
|
@ -55,13 +55,6 @@ describe Order do
|
||||||
expect(@order).to_not be_valid
|
expect(@order).to_not be_valid
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'products' do
|
|
||||||
it 'should be present' do
|
|
||||||
@order.products.clear
|
|
||||||
expect(@order).to_not be_valid
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
|
Loading…
Reference in a new issue