search for: find_all_active_and_inactive

Displaying 1 result from an estimated 1 matches for "find_all_active_and_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 acti...