One more update to the spec test

This commit is contained in:
Erik R. Rygg 2015-03-24 12:28:46 -06:00
parent 493e5c3eec
commit b8c2f44aa1

View file

@ -67,7 +67,7 @@ describe 'nginx::package' do
it { is_expected.to contain_apt__source('nginx').with( it { is_expected.to contain_apt__source('nginx').with(
'location' => "http://nginx.org/packages/#{operatingsystem.downcase}", 'location' => "http://nginx.org/packages/#{operatingsystem.downcase}",
'repos' => 'nginx', 'repos' => 'nginx',
'key' => 'ABF5BD827BD9BF62', 'key' => '573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62',
'key_source' => 'http://nginx.org/keys/nginx_signing.key' 'key_source' => 'http://nginx.org/keys/nginx_signing.key'
)} )}
it { is_expected.to contain_anchor('nginx::package::begin').that_comes_before('Class[nginx::package::debian]') } it { is_expected.to contain_anchor('nginx::package::begin').that_comes_before('Class[nginx::package::debian]') }