Skip to content

Commit ad3e1ea

Browse files
authored
Merge pull request #1322 from fe80/fix_spec_postgresql_password
fix spec postgresql_password with scram-sha-256
2 parents b3b49af + 295678d commit ad3e1ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/spec_helper_local.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ def param(type, title, param)
5959
}
6060
it {
6161
is_expected.to run.with_params('foo', 'bar', false, 'scram-sha-256').and_return(
62-
'SCRAM-SHA-256$4096:YmFy$y1VOaTvvs4V3OECvMzre9FtgCZClGuBLVE6sNPsTKbs=:HwFqmSKbihSyHMqkhufOy++cWCFIoTRSg8y6YgeALzE=',
62+
'SCRAM-SHA-256$4096:Zm9v$ea66ynZ8cS9Ty4ZkEYicwC72StsKLSwjcXIXKMgepTk=:dJYmOU6BMCaWkQOB3lrXH9OAF3lW2n3NJ26NO7Srq7U=',
6363
)
6464
}
6565
it {
6666
is_expected.to run.with_params('foo', 'bar', false, 'scram-sha-256', 'salt').and_return(
67-
'SCRAM-SHA-256$4096:c2FsdA==$zOt2zFfUQMbpQf3/vRnYB33QDK/L7APOBHniLy39j/4=:DcW5Jp8Do7wYhVp1f9aT0cyhUfzIAozGcvzXZj+M3YI=',
67+
'SCRAM-SHA-256$4096:c2FsdA==$hl63wu9L6vKIjd/UGPfpRl/hIQRBnlkoCiJ9KgxzbX0=:3Q39uiwDZ51m3iPpV8rSgISgRiYqkbnpc+wScL2lSAU=',
6868
)
6969
}
7070
it 'raises an error if there is only 1 argument' do

0 commit comments

Comments
 (0)