+ it { is_expected.not_to eq(nil) }
+ it { is_expected.to run.with_params.and_raise_error(Puppet::ParseError) }
+ it {
+ pending('should not accept numbers as arguments')
+ is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError)
+ }
+ it {
+ pending('should not accept numbers as arguments')
+ is_expected.to run.with_params(['packagename', 1]).and_raise_error(Puppet::ParseError)
+ }
+ it { is_expected.to run.with_params('packagename') }
+ it { is_expected.to run.with_params(['packagename1', 'packagename2']) }