Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "#{File.join(File.dirname(__FILE__),'..','spec_helper.rb')}"
- describe 'sudo', :type => :class do
- it ("contain class sudo::package") { should contain_class('sudo::package') }
- it ("contain class sudo::config") { should contain_class('sudo::config') }
- it ("contain pkg sudo") { should contain_package('sudo').with_ensure('latest') }
- it ("contain file sudoers") { should contain_file('sudoers').with_path('/etc/sudoers').with_ensure('present') }
- end
Add Comment
Please, Sign In to add comment