Sha256: e6ecf25f4b1e28a584d10ea9d904743f26548e4650fcae7b9461c29ff533f9b5

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

require 'spec_helper'

describe Adauth::AdObjects::Computer do
    it "Should find a computer" do
        default_config
        pdc.should be_a Adauth::AdObjects::Computer
    end
    
    it "should be in an ou" do
        default_config
        pdc.ous.should be_a Array
        pdc.ous.first.should be_a Adauth::AdObjects::OU
        pdc.ous.first.name.should eq "Domain Controllers"
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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