module-nginx/spec/classes/params_spec.rb

16 lines
389 B
Ruby
Raw Normal View History

2013-11-22 04:10:53 +01:00
require 'spec_helper'
describe 'nginx::params' do
context "On a Debian OS" do
let :facts do {
:osfamily => 'debian',
:operatingsystem => 'debian',
} end
it { should contain_nginx__params }
2013-12-06 17:14:20 +01:00
it { should have_class_count(1) } #only nginx::params itself
it { should have_resource_count(0) } #params class should never declare resources
2013-11-22 04:10:53 +01:00
end
end