summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2012-08-20 14:05:42 -0700
committerJeff McCune <jeff@puppetlabs.com>2012-08-20 14:05:42 -0700
commitc0639d06e147a52fb040e6aea8e2c80f498a1cb4 (patch)
tree996c16c414944920b3aa97abced19f020881dff2
parent6319605891dcc1063c0f8d2dfbe23c3052f1e542 (diff)
parent7a0e4be2e773c1aa6450fc8e8f043ae161590f0d (diff)
Merge branch '3.x'
* 3.x: (Maint) Fix mis-use of rvalue functions as statements Add .rspec file to repo root
-rw-r--r--.rspec4
-rw-r--r--spec/unit/puppet/parser/functions/merge_spec.rb1
2 files changed, 4 insertions, 1 deletions
diff --git a/.rspec b/.rspec
new file mode 100644
index 0000000..7ab5f55
--- /dev/null
+++ b/.rspec
@@ -0,0 +1,4 @@
+--color
+--format
+progress
+--backtrace
diff --git a/spec/unit/puppet/parser/functions/merge_spec.rb b/spec/unit/puppet/parser/functions/merge_spec.rb
index 9218b9d..db7d837 100644
--- a/spec/unit/puppet/parser/functions/merge_spec.rb
+++ b/spec/unit/puppet/parser/functions/merge_spec.rb
@@ -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