Merge branch '3.0.x' into 3.x

* 3.0.x:
  (Maint) Fix mis-use of rvalue functions as statements
  Add .rspec file to repo root
This commit is contained in:
Jeff McCune 2012-08-20 14:05:35 -07:00
commit 7a0e4be2e7
2 changed files with 4 additions and 1 deletions

4
.rspec Normal file
View file

@ -0,0 +1,4 @@
--color
--format
progress
--backtrace

View file

@ -26,7 +26,6 @@ describe Puppet::Parser::Functions.function(:merge) do
describe 'when calling merge on the scope instance' do
it 'should require all parameters are hashes' do
expect { new_hash = scope.function_merge([{}, '2'])}.should raise_error(Puppet::ParseError, /unexpected argument type String/)
end
it 'should be able to merge two hashes' do