File: test_sensitive_spec.rb

package info (click to toggle)
ruby-rspec-puppet 4.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ruby: 6,377; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
# frozen_string_literal: true

require 'spec_helper'

describe 'test::sensitive' 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(/Pass/)) }
end