search for: fredcontrollertest

Displaying 1 result from an estimated 1 matches for "fredcontrollertest".

2006 Jan 12
2
Engines issue: rake test_plugins failing when it shouldn''t
I create a simple engine with a simple controller: class FredController < ApplicationController def hello render :text => ''Hello, world!'' end end and I create a simple functional test within the engine: class FredControllerTest < Test::Unit::TestCase ... def test_hello get :hello assert_response :success end end Running ''rake test_plugins'' succeeds, and firing up the server and requesting /fred/hello gives the expected page. Now, in the project that includes the eng...