Sha256: d9c12f87572551ce0fb7bb89579f3620e22c8c31de4b11e66cdb579be5aa09a5
Contents?: true
Size: 695 Bytes
Versions: 2
Compression:
Stored size: 695 Bytes
Contents
require 'al-test-utils' class TestObjectClass < Test::Unit::TestCase include AlTestUtils priority :must priority :normal def test_unknown_object_class make_temporary_group do |group| assert_raises(ActiveLdap::ObjectClassError) do group.add_class("unknownObjectClass") end end end def test_remove_required_class make_temporary_group do |group| assert_raises(ActiveLdap::RequiredObjectClassMissed) do group.remove_class("posixGroup") end end end def test_invalid_object_class_value make_temporary_group do |group| assert_raises(TypeError) {group.add_class(:posixAccount)} end end priority :normal end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-activeldap-0.8.1 | test/test_object_class.rb |
ruby-activeldap-0.8.0 | test/test_object_class.rb |