Skip to content

Commit b87da29

Browse files
author
Morgan Haskel
committed
Merge pull request #650 from cyberious/master
(maint) Fix tests from #527 merge - Looks like copy tests mismatched logic of when it should expect changes
2 parents c4c0402 + 4596b59 commit b87da29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/acceptance/postgresql_psql_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class { 'postgresql::server': } ->
126126
EOS
127127

128128
apply_manifest(pp, :catch_failures => true)
129-
apply_manifest(pp, :expect_changes => true)
129+
apply_manifest(pp, :catch_changes => true)
130130
end
131131

132132
it 'should run SQL when the onlyif query returns rows' do
@@ -136,12 +136,12 @@ class { 'postgresql::server': } ->
136136
db => 'postgres',
137137
psql_user => 'postgres',
138138
command => 'select * from pg_database limit 1',
139-
onlfy => 'select 1 where 1=1',
139+
onlyif => 'select 1 where 1=1',
140140
}
141141
EOS
142142

143143
apply_manifest(pp, :catch_failures => true)
144-
apply_manifest(pp, :catch_changes => true)
144+
apply_manifest(pp, :expect_changes => true)
145145
end
146146

147147
context 'with secure password passing by environment' do

0 commit comments

Comments
 (0)