Skip to content

Commit df0142d

Browse files
committed
Add test
1 parent d39fe15 commit df0142d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

spec/acceptance/svn_spec.rb

+17
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,23 @@
111111
end
112112
end
113113

114+
context 'with Sensitive password' do
115+
pp = <<-MANIFEST
116+
vcsrepo { 'SVN':
117+
ensure => latest,
118+
path => '/tmp/svn',
119+
provider => svn,
120+
source => 'http://svn.apache.org/repos/asf/subversion/svn-logos',
121+
basic_auth_username => 'svn_user',
122+
basic_auth_password => Sensitive('sensitivePassword'),
123+
}
124+
MANIFEST
125+
it 'can use Sensitive' do
126+
# Run it twice and test for idempotency
127+
idempotent_apply(pp)
128+
end
129+
end
130+
114131
context 'with switching sources' do
115132
pp = <<-MANIFEST
116133
vcsrepo { "#{tmpdir}/svnrepo":

0 commit comments

Comments
 (0)