Skip to content

Commit f23158f

Browse files
authored
Merge pull request #339 from david22swan/maint/main/fix_for_sensitive_password_spec_test
(maint) - Update to wrap unit test return value in sensitive wrapper
2 parents 7485d9a + 1560ebf commit f23158f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/defines/accounts_user_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
{ password: RSpec::Puppet::RawString.new("Sensitive('foo')") }
193193
end
194194

195-
it { is_expected.to contain_user(title).with('password' => 'foo') }
195+
it { is_expected.to contain_user(title).with('password' => sensitive('foo')) }
196196
end
197197

198198
describe 'when supplying resource defaults' do

0 commit comments

Comments
 (0)