New tests added for Nitesi::Cart remove method #2

Merged
merged 6 commits into from Oct 5, 2011
Commits on Oct 4, 2011
  1. @rmtemplet

    Added tests for remove item

    rmtemplet committed Oct 4, 2011
Commits on Oct 5, 2011
  1. @racke @rmtemplet
  2. @racke @rmtemplet
  3. @racke @rmtemplet
  4. @rmtemplet

    Adjustments to the testing

    rmtemplet committed Oct 5, 2011
    1) Remove Data::Dumper
    2) Increment the amount of tests
    3) Ensure to add the item to the cart before specifiying a hook
       for removing the item.
  5. @rmtemplet

    Added 2 new tests

    rmtemplet committed Oct 5, 2011
    1) Test amount of items in cart after removing an item that
       got caught by a hook.  I also expanded the error message
       from the hook to be a bit more specific.
    2) Test the amount of items in the cart after removing an item
       without a hook.