Sha256: 25677845dc8f69a8c835d734bd52b07b7ddb98d0f35ff38e852dc015e7de8fa4

Contents?: true

Size: 639 Bytes

Versions: 3

Compression:

Stored size: 639 Bytes

Contents

require "lambom"
require "lambom/converger"

describe Lambom::Converger do
    conf = Lambom::Config.new

    conf.merge(:environment => "production",
              :server => "4586273f-f17a-4984-99ef-69c255e1b395",
              :private_key_file => "spec/private_key.pem",
              :loglevel => 'info' )
    json = <<EOF
{
  "riyic": {
    "dockerized": "no",
    "updates_check_interval": "never",
    "env": "development"
  },
  "run_list": [
    "recipe[riyic::default]"
  ]
}
EOF

    it "must run convergence tool" do
        expect{
            Lambom::Converger.new(conf, json).run
        }.not_to raise_error
    end
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lambom-0.3.5 spec/converger_spec.rb
lambom-0.3.1 spec/converger_spec.rb
lambom-0.3.0 spec/converger_spec.rb