Sha256: 80a2273bed9c6e90693f295f8b5535dea5e0a36cdd53d6014228324f0fc708da

Contents?: true

Size: 289 Bytes

Versions: 9

Compression:

Stored size: 289 Bytes

Contents

require "spec_helper"

module CFoundry
  module V2
    describe Domain do
      let(:space) { build(:space) }
      let(:domain) { build(:domain, :spaces => [space]) }

      it "should have a spaces association" do
        expect(domain.spaces).to eq([space])
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cfoundry-2.2.0rc3 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.2.0.rc2 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.2.0.rc1 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.1.2.rc1 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.1.1 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.1.0 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.0.2 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.0.1.rc1 spec/cfoundry/v2/domain_spec.rb
cfoundry-2.0.0 spec/cfoundry/v2/domain_spec.rb