First unit test fails


#1

I’ve just started working through ‘Agile’ chapter 12
‘Testing’. I’ve followed the steps carefully, setting up a fixture and
unit test to check the creation of an order. When I run the test I get
the following:

Loaded suite test/unit/order_test
Started
F
Finished in 0.108008 seconds.

  1. Failure:
    test_create(OrderTest) [test/unit/order_test.rb:17]:
    <“Wed Feb 15 12:56:26 GMT 2006”> expected but was
    <Wed Feb 15 12:56:26 GMT 2006>.

1 tests, 6 assertions, 1 failures, 0 errors

My fixture populates the mySQL order table with: ‘2006-02-15 12:56:26’

Is there some kind of internal/external date mapping in the RoR Unit
Test
framework that I’m not taking into account?