search for: concept_test

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

2006 Apr 30
0
weird error when running my unit tests
...un the first test, there is no error. When I run the second test, I get this error: 1) Error: test_find_all_inactive(ConceptTest): NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.size concept_test.rb:36:in `test_find_all_inactive'' I dont understand! Why is @concepts.size working in the first test and not in the second? -- Posted via http://www.ruby-forum.com/.