SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Threaded View

  1. #1
    SitePoint Member
    Join Date
    May 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry Chapter 7 page 231 running the full test suite

    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
    Last edited by PbPhil; May 5, 2008 at 06:47. Reason: spec of platform


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •