SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simply Rails 2: Protective Measures Tests

    Hiya! Something of a newbie, going through the Simply Rails 2 book and have encountered a problem whilst testing.

    I've copied the test suite from the code archive (after being thrown the exact same error when typing it myself) and have been given this error message;

    "functional/../test_helper.rb:22: undefined method 'use_transactional_fixtures=' for Test::Unit::TestCase:Class (NoMethodError)"

    Anyone know what might be going on here? The app seems to work correctly, but I'm loathed to skip over too much testing.

    Thanks!

  2. #2
    Team ********* Louis Simoneau's Avatar
    Join Date
    Sep 2009
    Location
    Melbourne, Australia
    Posts
    228
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you using Rails 2.3? If so, I think this might be your problem:

    http://www.themomorohoax.com/2008/12/17/rails-2-3-tests


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
  •