search for: num_project

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

Did you mean: num_projects
2006 Jul 06
6
Functional tsts
...rking except the functional test. This is the error 1) Failure: test_create(ProjectsControllerTest) [test/functional/projects_controller_test.rb :55]: Expected response to be a <:redirect>, but was <200> 8 tests, 25 assertions, 1 failures, 0 errors 50 def test_create 51 num_projects = Project.count 52 53 post :create, :project => {} 54 55 assert_response :redirect 56 assert_redirected_to :action => ''list'' 57 58 assert_equal num_projects + 1, Project.count 59 end Thanks in Advance -Harish -- Posted via http://www.ruby-forum....