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:
commit
7a0e4be2e7
2 changed files with 4 additions and 1 deletions
4
.rspec
Normal file
4
.rspec
Normal file
|
@ -0,0 +1,4 @@
|
|||
--color
|
||||
--format
|
||||
progress
|
||||
--backtrace
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue