test/test_base.rb in activeldap-4.0.3 vs test/test_base.rb in activeldap-4.0.4
- old
+ new
@@ -809,10 +809,10 @@
ou_class.ldap_mapping(:dn_attribute => :ou,
:prefix => "",
:classes => ["top", "organizationalUnit"])
assert_equal(["ou=Groups,#{current_configuration['base']}",
"ou=Users,#{current_configuration['base']}"],
- ou_class.find(:all).collect(&:dn).sort)
+ ou_class.find(:all).collect(&:dn).collect(&:to_s).sort)
end
def test_ldap_mapping_validation
ou_class = Class.new(ActiveLdap::Base)
assert_raises(ArgumentError) do