Skip to content

Commit 9592788

Browse files
h0tw1r3smortex
authored andcommitted
add new parameter to tests
1 parent 5960920 commit 9592788

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

spec/unit/classes/server/database_ini_spec.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@
3838
it {
3939
is_expected.to contain_ini_setting('puppetdb_psdatabase_password')
4040
.with(
41-
'ensure' => 'present',
42-
'path' => "#{pdbconfdir}/database.ini",
43-
'section' => 'database',
44-
'setting' => 'password',
45-
'value' => 'puppetdb',
41+
'ensure' => 'present',
42+
'path' => "#{pdbconfdir}/database.ini",
43+
'section' => 'database',
44+
'setting' => 'password',
45+
'value' => 'puppetdb',
46+
'show_diff' => false,
4647
)
4748
}
4849
it {

spec/unit/classes/server/read_database_ini_spec.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@
3838
it {
3939
is_expected.to contain_ini_setting('puppetdb_read_database_password')
4040
.with(
41-
'ensure' => 'present',
42-
'path' => '/etc/puppetlabs/puppetdb/conf.d/read_database.ini',
43-
'section' => 'read-database',
44-
'setting' => 'password',
45-
'value' => 'puppetdb-read',
41+
'ensure' => 'present',
42+
'path' => '/etc/puppetlabs/puppetdb/conf.d/read_database.ini',
43+
'section' => 'read-database',
44+
'setting' => 'password',
45+
'value' => 'puppetdb-read',
46+
'show_diff' => false,
4647
)
4748
}
4849
it {

0 commit comments

Comments
 (0)