no need for suse tests, there's no nodeset for it

This commit is contained in:
Matthew Haughton 2015-04-09 10:40:10 -04:00 committed by Matthew Haughton
parent fd069a3aec
commit 69ccfae779

View file

@ -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