search for: test_should_get_index

Displaying 2 results from an estimated 2 matches for "test_should_get_index".

2008 Jan 01
1
functional tests
Hi, Im stating to play with rails testing and have hit a slight snag that i''m hoping someone can hit me with a clue bat for. I have my models and associations set up correctly and all is working as it should. I only have the auto generated tests at the moment and the test_should_get_index test is failing. The controller is just a default controller but i get the following error on the test as i modified the index view. test_should_get_index(CommitsControllerTest): ActionView::TemplateError: You have a nil object when you didn''t expect it! The error occurred while evaluati...
2011 Feb 17
4
PGError: ERROR: relation "instructions" does not exist
...#39;'instructions''. But it shows a error like "ERROR: relation "instructions" does not exist". Totally, I got same error for 64 tests as 64 errors. I am using rails 3.0, Ruby 1.9.2, Netbeans 6.8. PS: I didnt creat Instruction manual for rails application. *Error: test_should_get_index(HomeControllerTest): ActiveRecord::StatementInvalid: PGError: ERROR: relation "instructions" does not exist LINE 1: DELETE FROM "instructions" ^ : DELETE FROM "instructions"* Kindly help me in this regard -- K. Palani Kannan -- You received this message because y...