Skip to content

Commit 7ea4124

Browse files
author
Marc Huffnagle
committed
Fix raise_error deprecation warning
1 parent 52aa8eb commit 7ea4124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/puppet/functions/mysql_deepmerge_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
end
3131

3232
it 'should accept empty strings as puppet undef' do
33-
expect { new_hash = scope.function_mysql_deepmerge([{}, ''])}.not_to raise_error(Puppet::ParseError, /unexpected argument type String/)
33+
expect { new_hash = scope.function_mysql_deepmerge([{}, ''])}.not_to raise_error
3434
end
3535

3636
it 'should be able to mysql_deepmerge two hashes' do

0 commit comments

Comments
 (0)