-
Notifications
You must be signed in to change notification settings - Fork 612
add scram-sha-256 support #1313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,10 +48,24 @@ def param(type, title, param) | |
it { is_expected.not_to eq(nil) } | ||
|
||
it { | ||
is_expected.to run.with_params('foo', 'bar').and_return('md596948aad3fcae80c08a35c9b5958cd89') | ||
is_expected.to run.with_params('foo', 'bar').and_return( | ||
'md596948aad3fcae80c08a35c9b5958cd89' | ||
) | ||
} | ||
it { | ||
is_expected.to run.with_params('foo', 1234).and_return('md539a0e1b308278a8de5e007cd1f795920') | ||
is_expected.to run.with_params('foo', 1234).and_return( | ||
'md539a0e1b308278a8de5e007cd1f795920' | ||
) | ||
} | ||
it { | ||
is_expected.to run.with_params('foo', 'bar', nil, 'scram-sha-256').and_return( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hello, Effectively That should be like you say here #1313 (comment)
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want I try to fix this on a new PR ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please do. I just merged a PR which already fixed some Rubocop failures so be sure to base it on the latest commit. |
||
'SCRAM-SHA-256$4096:YmFy$y1VOaTvvs4V3OECvMzre9FtgCZClGuBLVE6sNPsTKbs=:HwFqmSKbihSyHMqkhufOy++cWCFIoTRSg8y6YgeALzE=' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On my local system I'm getting a different value:
|
||
) | ||
} | ||
it { | ||
is_expected.to run.with_params('foo', 'bar', nil, 'scram-sha-256', 'salt').and_return( | ||
'SCRAM-SHA-256$4096:c2FsdA==$zOt2zFfUQMbpQf3/vRnYB33QDK/L7APOBHniLy39j/4=:DcW5Jp8Do7wYhVp1f9aT0cyhUfzIAozGcvzXZj+M3YI=' | ||
) | ||
} | ||
it 'raises an error if there is only 1 argument' do | ||
is_expected.to run.with_params('foo').and_raise_error(StandardError) | ||
|
Uh oh!
There was an error while loading. Please reload this page.