summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser
diff options
context:
space:
mode:
authorJames Fryman <james@frymanet.com>2012-11-09 11:08:24 -0600
committerJames Fryman <james@frymanet.com>2012-11-15 10:38:03 -0600
commit88acc523931272deb57eafbb7021f8d32248d68e (patch)
tree46103ab7b31f280bbbb8edd8a93e0529ed450229 /spec/unit/puppet/parser
parent747dcc6fc7df12d4d64502b0d4a0e35c3d4f8ec7 (diff)
downloadpuppet-stdlib-88acc523931272deb57eafbb7021f8d32248d68e.tar.gz
puppet-stdlib-88acc523931272deb57eafbb7021f8d32248d68e.tar.bz2
puppet-lint cleanup
Diffstat (limited to 'spec/unit/puppet/parser')
-rw-r--r--spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_hash_spec.rb1
-rw-r--r--spec/unit/puppet/parser/functions/validate_string_spec.rb1
3 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb b/spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb
index 4eb799d..2577723 100644
--- a/spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb
+++ b/spec/unit/puppet/parser/functions/fqdn_rotate_spec.rb
@@ -19,7 +19,7 @@ describe "the fqdn_rotate function" do
end
it "should rotate a string to give the same results for one host" do
- scope.expects(:lookupvar).with("::fqdn").returns("127.0.0.1").twice
+ scope.expects(:lookupvar).with("::fqdn").returns("127.0.0.1").twice
scope.function_fqdn_rotate(["abcdefg"]).should eql(scope.function_fqdn_rotate(["abcdefg"]))
end
diff --git a/spec/unit/puppet/parser/functions/validate_hash_spec.rb b/spec/unit/puppet/parser/functions/validate_hash_spec.rb
index f63db1d..06d77a1 100644
--- a/spec/unit/puppet/parser/functions/validate_hash_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_hash_spec.rb
@@ -41,4 +41,3 @@ describe Puppet::Parser::Functions.function(:validate_hash) do
end
end
-
diff --git a/spec/unit/puppet/parser/functions/validate_string_spec.rb b/spec/unit/puppet/parser/functions/validate_string_spec.rb
index f40bf2a..007b4ca 100644
--- a/spec/unit/puppet/parser/functions/validate_string_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_string_spec.rb
@@ -58,4 +58,3 @@ describe Puppet::Parser::Functions.function(:validate_string) do
end
end
end
-