Skip to content

Commit d5fcc26

Browse files
committed
(IAC-1677) Fix issue with deprecated rspec
1 parent 31222fd commit d5fcc26

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

spec/functions/mysql_password_spec.rb

+5-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@
2323
is_expected.to run.with_params(sensitive('password')).and_return('*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19')
2424
end
2525

26-
# Commented out due to: IAC-1677
27-
# Test of a Returnvalue of Datatype Sensitive does not work IAC-1679
28-
# it 'returns Sensitive with sensitive=true' do
29-
# pending 'should have a Returnvalue of Datatype Sensitive'
30-
# is_expected.to run.with_params('password', true).and_return(sensitive('*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19'))
31-
# end
26+
# Test of a Returnvalue of Datatype Sensitive does not work
27+
it 'returns Sensitive with sensitive=true' do
28+
skip 'should have a Returnvalue of Datatype Sensitive'
29+
is_expected.to run.with_params('password', true).and_return(sensitive('*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19'))
30+
end
3231

3332
it 'password should be String' do
3433
is_expected.to run.with_params(123).and_raise_error(ArgumentError)

0 commit comments

Comments
 (0)