search for: test_find_all_inactive

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

2006 Apr 30
0
weird error when running my unit tests
How can this be possible: I have two tests: def find_all_active_and_inactive assert_equal Concept.find_all_active_and_inactive.size, @concepts.size end and def test_find_all_inactive assert_equal Concept.find_all_inactive.size, (@concepts.size - Concept.find_all.size) end Concept.find_all returns 2 concepts (I overwrote the method to return only the active concepts) Concept.find_all_inactive returns 1 concept Concept.find_all_active_and_inactive returns 3 concepts And...