diff --git a/spec/acceptance/class_disabled_spec.rb b/spec/acceptance/class_disabled_spec.rb index b5d48eca..224d2349 100644 --- a/spec/acceptance/class_disabled_spec.rb +++ b/spec/acceptance/class_disabled_spec.rb @@ -45,7 +45,7 @@ class { 'selinux': mode => 'permissive' } end context 'when switching from enforcing to disabled' do - let(:pp) do + let(:manifest) do <<-EOS class { 'selinux': mode => 'disabled' } EOS @@ -75,7 +75,7 @@ class { 'selinux': mode => 'disabled' } end it 'applies without changes' do - apply_manifest(pp, catch_changes: true) + apply_manifest(manifest, catch_changes: true) end describe command('getenforce') do @@ -120,7 +120,7 @@ class { 'selinux': mode => 'permissive' } end it 'applies without changes' do - apply_manifest(pp, catch_changes: true) + apply_manifest(manifest, catch_changes: true) end describe command('getenforce') do