Sha256: 08530da7a04954996e778687b94524cff55a0d017d6d7db6629a3d5dc9a8e194

Contents?: true

Size: 400 Bytes

Versions: 13

Compression:

Stored size: 400 Bytes

Contents

require 'spec_helper'

describe Ironfan::Dsl::Cluster do
  subject do
    Ironfan.cluster 'foo' do
      environment :dev

      role :generic

      role :is_last, :last
      role :is_first, :first
    end
    Ironfan.cluster('foo').resolve
  end

  its(:environment) { should eql :dev }

  its(:run_list) { should eql [
    "role[is_first]",
    "role[generic]",
    "role[is_last]"
    ]
  }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ironfan-6.0.9 spec/ironfan/cluster_spec.rb
ironfan-6.0.8 spec/ironfan/cluster_spec.rb
ironfan-6.1.5 spec/ironfan/cluster_spec.rb
ironfan-6.1.4 spec/ironfan/cluster_spec.rb
ironfan-6.1.3 spec/ironfan/cluster_spec.rb
ironfan-6.1.0 spec/ironfan/cluster_spec.rb
ironfan-6.0.7 spec/ironfan/cluster_spec.rb
ironfan-6.0.6 spec/ironfan/cluster_spec.rb
ironfan-6.0.5 spec/ironfan/cluster_spec.rb
ironfan-6.0.4 spec/ironfan/cluster_spec.rb
ironfan-6.0.3 spec/ironfan/cluster_spec.rb
ironfan-6.0.1 spec/ironfan/cluster_spec.rb
ironfan-6.0.0 spec/ironfan/cluster_spec.rb