X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Fspec%2Ffunctions%2Fglob_spec.rb;fp=3rdparty%2Fmodules%2Fstdlib%2Fspec%2Ffunctions%2Fglob_spec.rb;h=209aca6c5605b1d7ed44c53cda89d8f6f5c537ec;hb=131e09855e065be940e104d9ab0f18940cc76257;hp=06439da9591709157a3704fb372157c09502183d;hpb=407d322498f4fde815abf381007fbecfe5c10b2b;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/stdlib/spec/functions/glob_spec.rb b/3rdparty/modules/stdlib/spec/functions/glob_spec.rb old mode 100755 new mode 100644 index 06439da95..209aca6c5 --- a/3rdparty/modules/stdlib/spec/functions/glob_spec.rb +++ b/3rdparty/modules/stdlib/spec/functions/glob_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe 'glob' do it { is_expected.not_to eq(nil) } - it { is_expected.to run.with_params().and_raise_error(Puppet::ParseError) } + it { is_expected.to run.with_params.and_raise_error(Puppet::ParseError) } it { is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError) } it { is_expected.to run.with_params('').and_return([]) } it { is_expected.to run.with_params(['']).and_return([]) }