Sha256: 5b1e132799760dcd3bcfb4d2b0e49355748423415ef04d9f895ecf9a8746f9ee

Contents?: true

Size: 496 Bytes

Versions: 4

Compression:

Stored size: 496 Bytes

Contents

require 'spec_helper'

describe Adauth::AdObjects::Group do
    it "should have a name" do
        default_config
        group = domain_admins
        group.name.should eq "Domain Admins"
    end
    
    it "should have a members list" do
        default_config
        group = domain_admins
        group.members.first.name.should be_a String
    end
    
    it "should be a member of" do
        default_config
        group = domain_admins
        group.groups.should be_a Array
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adauth-2.0.0 spec/adauth_ad_object_group_spec.rb
adauth-2.0.0pre2 spec/adauth_ad_object_group_spec.rb
adauth-2.0.0pre1 spec/adauth_ad_object_group_spec.rb
adauth-2.0.0pre spec/adauth_ad_object_group_spec.rb