Guest User

Untitled

a guest
Nov 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. require "#{File.join(File.dirname(__FILE__),'..','spec_helper.rb')}"
  2.  
  3. describe 'sudo', :type => :class do
  4.  
  5. it ("contain class sudo::package") { should contain_class('sudo::package') }
  6. it ("contain class sudo::config") { should contain_class('sudo::config') }
  7.  
  8. it ("contain pkg sudo") { should contain_package('sudo').with_ensure('latest') }
  9.  
  10. it ("contain file sudoers") { should contain_file('sudoers').with_path('/etc/sudoers').with_ensure('present') }
  11. end
Add Comment
Please, Sign In to add comment