Skip to content

Commit

Permalink
Fix spec test mock (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
op-ct authored Jul 19, 2023
1 parent 6732907 commit a3418e0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/classes/config/audit_profiles/custom_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
<<-EOM
function assert_private() { }
class auditd::config ( $profiles = ['custom'] ){}
class auditd::config (
$profiles = ['custom'],
$config_file_mode = '0600'
){}
include auditd::config
EOM
}
Expand Down Expand Up @@ -93,7 +96,8 @@ class auditd::config ( $profiles = ['custom'] ){}
function assert_private() { }
class auditd::config (
$profiles = ['simp', 'custom', 'stig']
$profiles = ['simp', 'custom', 'stig'],
$config_file_mode = '0600'
){}
include auditd::config
EOM
Expand Down

0 comments on commit a3418e0

Please sign in to comment.