require 'spec_helper'

#
# cloud::init
#

describe port(22) do
  it { should be_listening.with('tcp') }
end

# test if DNS is working
describe command("timeout 1 dig #{property[:vip_internal_fqdn]}") do
  it { should return_exit_status 0 }
end

describe command('edeploy role') do
  it { should return_exit_status 0 }
end

describe command('edeploy profile') do
  it { should return_exit_status 0 }
end

describe command('edeploy version') do
  it { should return_exit_status 0 }
end

require 'spec_helper'

#
# cloud::init
#

describe port(22) do
  it { should be_listening.with('tcp') }
end

# test if DNS is working
describe command("timeout 1 dig #{property[:vip_internal_fqdn]}") do
  it { should return_exit_status 0 }
end

Revert "base: test eDeploy commands"
Revert "base: test eDeploy commands"

This reverts commit 4d3d626f50a1de24a08d89b64f0b0c511670d746.
