Cookin' with Ruby on Rails - Designing for Testability
Subject:   Small typo page 5
Date:   2007-08-15 20:55:08
From:   ezosoro
Posting this comment to help anyone who had a problem on page 5 with the "create_and_destroy" test added to "category_test.rb". The line assert_equal(initial_rec_count + 1, Category.count should have a closing parenthesis. assert_equal(initial_rec_count + 1, Category.count)

Hope it helps with any problems. Happy coding everyone ;)

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Small typo page 5
    2007-08-21 09:05:04  Bill Walton | [View]


    Thanks for the catch! I've forwarded the request to fix the typo to my editor. I appreciate you making the time to let us know.

    Best regards,