#Let's go Shopping
Instructions:
-
We have been asked to create an online e-commerce site and we want to write tests for both a Product and Order class!
-
Take a look at the
product.rb
model. What unit tests would you write inproduct_spec.rb
to thoroughly test the methods it contains?
Extra/Bonus:
- Take a look at the
order.rb
model and write unit tests to verify it's methods