Displaying 1 result from an estimated 1 matches for "test_redirect".
2007 Dec 24
1
Uninitialized constant in integration test
...39;' and ''listings_controller'', but
neither solves this problem, although the exception changes.
Anybody know what''s going on here?
Thanks.
----
require "#{File.dirname(__FILE__)}/../test_helper"
class FooTest < ActionController::IntegrationTest
def test_redirect
get "/"
assert_redirected_to "/"
end
end
----
with this exception:
NameError: uninitialized constant ApplicationController
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:266:in
`load_missing_constant''
/usr/...