Sha256: b3a61000ea335733bfcc68bebe35184b51bc3d49de814f837d2190eed997149f

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 Bytes

Contents

require 'spec_helper'

describe Adauth::AdObjects::OU do
    let(:domain_controllers) do
      Adauth::AdObjects::OU.where('name', 'Domain Controllers').first
    end
    
    it "should find Domain Controllers" do
        default_config
        domain_controllers.should be_a Adauth::AdObjects::OU
    end
    
    it "should have members" do
        default_config
        domain_controllers.members.should be_a Array
    end
    
    it "should have a computer as a member" do
        default_config
        domain_controllers.members.first.should be_a Adauth::AdObjects::Computer
    end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adauth-2.0.5 spec/adauth_ad_object_ou_spec.rb
adauth-2.0.4 spec/adauth_ad_object_ou_spec.rb
adauth-2.0.3 spec/adauth_ad_object_ou_spec.rb
adauth-2.0.2 spec/adauth_ad_object_ou_spec.rb
adauth-2.0.1 spec/adauth_ad_object_ou_spec.rb