RE: First unit test fails

fixture and unit test to check the creation of an order. When
<Wed Feb 15 12:56:26 GMT 2006>.

1 tests, 6 assertions, 1 failures, 0 errors

Looks like you’re comparing a string against a Time object (note the
quotes in the expected value, and the lack of quotes in the actual
value). Take a look at p. 145 (under Create and Read), where they talk
about _before_type_cast.

Me? I just use the .to_s method.

Regards,

Dan

Thanks. I should have read a few pages ahead! .to_s works fine.

Lindsay