Displaying 1 result from an estimated 1 matches for "test_intro".
Did you mean:
test_info
2007 Jun 07
0
Functional Tests Fail - No URL can be generated for hash
...def rescue_action(e) raise e end; end
class DashboardControllerTest < Test::Unit::TestCase
def setup
@controller = DashboardController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
# let''s test our main page
def test_intro
get :intro
assert_response :success
end
end
And when I run the test via the suite, I get the following error:
Loaded suite rails-app/tests/functional/suite
Started
E
Finished in 0.054555 seconds.
1) Error:
test_intro(DashboardControllerTest):
ActionController::RoutingError: No url c...