Sha256: 6f61ccb73f8550d1dc074c0b23c10a8e267fd510e3ac92cf530380aa2f1e8bc6

Contents?: true

Size: 526 Bytes

Versions: 6

Compression:

Stored size: 526 Bytes

Contents

# -*- coding: utf-8 -*-

require 'al-test-utils'

class TestEntry < Test::Unit::TestCase
  include AlTestUtils

  def test_all
    make_temporary_group do |group|
      make_temporary_user do |user, password|
        all_entries = [ActiveLdap::Base.base]
        all_entries += [user.dn, user.base]
        all_entries += [group.dn, group.base]
        all_entries += [@group_of_urls_class.base]
        assert_equal(all_entries.sort,
                     ActiveLdap::Entry.all.collect(&:dn).sort)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activeldap-7.2.1 test/test_entry.rb
activeldap-7.2.0 test/test_entry.rb
activeldap-7.0.0 test/test_entry.rb
activeldap-6.1.0 test/test_entry.rb
activeldap-6.0.4 test/test_entry.rb
activeldap-6.0.3 test/test_entry.rb