summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/merge_spec.rb
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2014-03-07 19:48:40 -0500
committerAshley Penney <ashley.penney@puppetlabs.com>2014-03-07 19:48:40 -0500
commit9e1cf99ccf12de2edaf73af73a8410e5cac6dd72 (patch)
tree2624c5c96549324719fbf6eaca781888d6d4646d /spec/unit/puppet/parser/functions/merge_spec.rb
parentfecb53d46ed9e926973cdf5be1289c1ea71c2f68 (diff)
parent3854e076ccb75d1bcb1ddd29f5976b194d857765 (diff)
Merge pull request #230 from apenney/fix-testing
[WIP] Spec overhaul.
Diffstat (limited to 'spec/unit/puppet/parser/functions/merge_spec.rb')
-rw-r--r--spec/unit/puppet/parser/functions/merge_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/parser/functions/merge_spec.rb b/spec/unit/puppet/parser/functions/merge_spec.rb
index 8a170bb..15a5d94 100644
--- a/spec/unit/puppet/parser/functions/merge_spec.rb
+++ b/spec/unit/puppet/parser/functions/merge_spec.rb
@@ -30,7 +30,7 @@ describe Puppet::Parser::Functions.function(:merge) do
end
it 'should accept empty strings as puppet undef' do
- expect { new_hash = scope.function_merge([{}, ''])}.not_to raise_error(Puppet::ParseError, /unexpected argument type String/)
+ expect { new_hash = scope.function_merge([{}, ''])}.not_to raise_error
end
it 'should be able to merge two hashes' do