Conditions must never be equal

This commit is contained in:
Aaron Patterson 2011-09-08 16:02:56 -07:00
parent cbf1dc7842
commit 41a085ebc9
1 changed files with 1 additions and 6 deletions

View File

@ -1353,11 +1353,6 @@ class ResourcesTest < ActionController::TestCase
end
def distinct_routes? (r1, r2)
if r1.conditions == r2.conditions and r1.constraints == r2.constraints then
if r1.segments.collect(&:to_s) == r2.segments.collect(&:to_s) then
return false
end
end
true
assert_not_equal r1.conditions, r2.conditions
end
end