diff --git a/spec/acceptance/class_spec.rb b/spec/acceptance/class_spec.rb index f8fbcd2..e0a9882 100644 --- a/spec/acceptance/class_spec.rb +++ b/spec/acceptance/class_spec.rb @@ -1,14 +1,6 @@ require 'spec_helper_acceptance' describe "nginx class:" do - case fact('osfamily') - when 'RedHat' - package_name = 'nginx' - when 'Debian' - package_name = 'nginx' - when 'Suse' - package_name = 'nginx-0.8' - end context 'default parameters' do it 'should run successfully' do @@ -20,7 +12,7 @@ describe "nginx class:" do end end - describe package(package_name) do + describe package('nginx') do it { is_expected.to be_installed } end