I reading/learning "agile develpment.." now i'm on Chapter 14 (testing)/
when i tried to run "@ruby -I test test/unit/product_test.rb" i have error that
1) Error:
test_invalid_with_empty_attributes(ProductTest):
ActiveRecord::StatementInvalid: PGError: ERROR: relation "carts" does not exist
LINE 1: DELETE FROM "carts"
^
: DELETE FROM "carts"
but cart model isn't belongs to "ActiveRecord"
what i'm doing wrong?
(sorry for mistakes, i'm bad in english)