Get spec tests closer to working

This commit is contained in:
Ross McFarland 2016-06-24 10:43:14 -07:00
Родитель 2176a8b134
Коммит e76ca2f5d2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 61C10C4FC8FE4A89
2 изменённых файлов: 10 добавлений и 5 удалений

Просмотреть файл

@ -3,5 +3,6 @@ fixtures:
stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
staging: "https://github.com/nanliu/puppet-staging.git"
concat: "https://github.com/puppetlabs/puppet-concat.git"
consul: "https://github.com/solarkennedy/puppet-consul"
symlinks:
consul_template: "#{source_dir}"

Просмотреть файл

@ -7,8 +7,10 @@ describe 'consul_template::watch', :type => :define do
describe "consul_template::watch define on OS family #{osfamily}" do
let(:title) { 'test_watcher' }
let(:params) {{
:destination => '/var/tmp/consul_template',
:command => '/bin/test',
:config_hash => {
'destination' => '/var/tmp/consul_template',
'command' => '/bin/test',
}
}}
let(:facts) {{
:osfamily => osfamily,
@ -30,10 +32,12 @@ describe 'consul_template::watch', :type => :define do
describe "consul_template::watch define on OS family #{osfamily}" do
let(:title) { 'test_watcher' }
let(:params) {{
:template => 'consul_template_spec/test_template',
:template => 'consul_template_spec/test_template',
:template_vars => { 'foo' => 'bar' },
:destination => '/var/tmp/consul_template',
:command => '/bin/test',
:config_hash => {
'destination' => '/var/tmp/consul_template',
'command' => '/bin/test',
}
}}
let(:facts) {{
:osfamily => osfamily,