Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / spec / functions / dos2unix_spec.rb
index 8677d8c..4b04f5b 100644 (file)
@@ -10,13 +10,13 @@ describe 'dos2unix' do
       is_expected.to run.with_params('one', 'two').and_raise_error(ArgumentError, %r{Wrong number of arguments})
     end
     it do
-      is_expected.to run.with_params([]).and_raise_error(Puppet::ParseError)
+      is_expected.to run.with_params([]).and_raise_error(Puppet::ParseError, %r{Requires string as argument})
     end
     it do
-      is_expected.to run.with_params({}).and_raise_error(Puppet::ParseError)
+      is_expected.to run.with_params({}).and_raise_error(Puppet::ParseError, %r{Requires string as argument})
     end
     it do
-      is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError)
+      is_expected.to run.with_params(1).and_raise_error(Puppet::ParseError, %r{Requires string as argument})
     end
   end