I have a problem with the following line from page 228
assert_select 'ul#vote_history li, count => 2
This is where my final test of this chapter fails and I'm stumped as to why. The failure message is returns 0 when expecting 2.
It works fine in the live version of the website and the fixtures file is set up correctly and as far as I can see formatting etc is ok.
Anyone got any suggestions as to why the test thinks the voting history is empty?
Running on Mac OS 10.5



ermalink => 'my-shiny-weblog'




Bookmarks