Forum: Ruby on Rails Problem with Integration Test

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
85d861226ee84a7cca62b4cc0a298ae0?d=identicon&s=25 Asa (Guest)
on 2007-01-09 03:59
(Received via mailing list)
I am trying to setup an integration test and I keep getting the
following error:

 ruby test/integration/portfolios_test.rb
`const_missing': uninitialized constant IntegrationTest (NameError)
        from test/integration/portfolios_test.rb:3

Empty code shell for the integration test:

require File.dirname(__FILE__) + '/../test_helper'

class PortfolioTest < ActionController::IntegrationTestSession

Any ideas?  I am using the syntax from Recipe 43 in the Rails Cookbook.

This topic is locked and can not be replied to.