diff --git a/spec/classes/nginx_spec.rb b/spec/classes/nginx_spec.rb index a986d6205..b5b981152 100644 --- a/spec/classes/nginx_spec.rb +++ b/spec/classes/nginx_spec.rb @@ -21,7 +21,7 @@ it { is_expected.to compile.with_all_deps } it { is_expected.to contain_class('nginx') } it { is_expected.to contain_anchor('nginx::begin') } - it { is_expected.to contain_class('nginx::package')that_requires('Anchor[nginx::begin]') } + it { is_expected.to contain_class('nginx::package').that_requires('Anchor[nginx::begin]') } it { is_expected.to contain_class('nginx::config').that_requires('Class[nginx::package]') } it { is_expected.to contain_class('nginx::service').that_subscribes_to('Anchor[nginx::begin]') } it { is_expected.to contain_class('nginx::service').that_subscribes_to('Class[nginx::package]') }