File: test_sensitive_spec.rb

package info (click to toggle)
ruby-rspec-puppet 2.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,416 kB
  • sloc: ruby: 6,661; makefile: 6
file content (6 lines) | stat: -rw-r--r-- 328 bytes parent folder | download
1
2
3
4
5
6
require 'spec_helper'

describe 'test::sensitive', :if => Puppet::Util::Package.versioncmp(Puppet.version, '4.6.0') >= 0 do
  it { is_expected.to contain_class('test::sensitive::user').with_password(sensitive('myPassword')) }
  it { is_expected.to contain_class('test::sensitive::user').with_password(sensitive(%r{Pass})) }
end