summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/delete_undef_values_spec.rb
diff options
context:
space:
mode:
authorSharif Nassar <sharif@mediatemple.net>2014-02-05 15:01:45 -0800
committerSharif Nassar <sharif@mediatemple.net>2014-02-05 15:01:45 -0800
commita972e0645b31cf1eb89874cb08b403bdc0fad3a4 (patch)
treeb0287e655c51232037602dcd112d3a4a8a53906c /spec/unit/puppet/parser/functions/delete_undef_values_spec.rb
parent5b85e7c39f34b3004881517f886d7f06f8f2a440 (diff)
downloadpuppet-stdlib-a972e0645b31cf1eb89874cb08b403bdc0fad3a4.tar.gz
puppet-stdlib-a972e0645b31cf1eb89874cb08b403bdc0fad3a4.tar.bz2
Remove trailing whitespace
Diffstat (limited to 'spec/unit/puppet/parser/functions/delete_undef_values_spec.rb')
-rw-r--r--spec/unit/puppet/parser/functions/delete_undef_values_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/puppet/parser/functions/delete_undef_values_spec.rb b/spec/unit/puppet/parser/functions/delete_undef_values_spec.rb
index 404aeda..b341d88 100644
--- a/spec/unit/puppet/parser/functions/delete_undef_values_spec.rb
+++ b/spec/unit/puppet/parser/functions/delete_undef_values_spec.rb
@@ -27,15 +27,15 @@ describe "the delete_undef_values function" do
result.should(eq({'a'=>'A','c'=>'C','d'=>'undef'}))
end
- it "should not change origin array passed as argument" do
+ it "should not change origin array passed as argument" do
origin_array = ['a',:undef,'c','undef']
result = scope.function_delete_undef_values([origin_array])
origin_array.should(eq(['a',:undef,'c','undef']))
- end
+ end
- it "should not change origin hash passed as argument" do
- origin_hash = { 'a' => 1, 'b' => :undef, 'c' => 'undef' }
+ it "should not change origin hash passed as argument" do
+ origin_hash = { 'a' => 1, 'b' => :undef, 'c' => 'undef' }
result = scope.function_delete_undef_values([origin_hash])
origin_hash.should(eq({ 'a' => 1, 'b' => :undef, 'c' => 'undef' }))
- end
+ end
end