summaryrefslogtreecommitdiffstats
path: root/spec/unit/indirector/node
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-07-18 00:12:01 -0500
committerLuke Kanies <luke@madstop.com>2008-07-18 00:12:01 -0500
commita0fa09f6ee562dd1b61fe56dd4b914419d641986 (patch)
tree3e4bccaa9bd2af7e89adda49c214fd369e7c5c0d /spec/unit/indirector/node
parent8f8ce60819b8c4b3c6609fd9cc485f8322561469 (diff)
downloadpuppet-a0fa09f6ee562dd1b61fe56dd4b914419d641986.tar.gz
puppet-a0fa09f6ee562dd1b61fe56dd4b914419d641986.tar.xz
puppet-a0fa09f6ee562dd1b61fe56dd4b914419d641986.zip
Revert "Fixed #1201 - all external node attributes are converted to strings."
This reverts commit ac7f59618a80b6a4aac777f6184e7fa6a0614079. The reason for this revert is that the problem never really existed; Ruby's true and false are always used unless you quote them.
Diffstat (limited to 'spec/unit/indirector/node')
-rwxr-xr-xspec/unit/indirector/node/exec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/unit/indirector/node/exec.rb b/spec/unit/indirector/node/exec.rb
index 2276e4298..09f13ab90 100755
--- a/spec/unit/indirector/node/exec.rb
+++ b/spec/unit/indirector/node/exec.rb
@@ -49,12 +49,6 @@ describe Puppet::Node::Exec do
@searcher.find(@request)
end
- it "should convert all parameters into strings" do
- @result[:parameters] = {"a" => true, "c" => 100}
- @node.expects(:parameters=).with "a" => "true", "c" => "100"
- @searcher.find(@request)
- end
-
it "should set the resulting classes as the node classes" do
@result[:classes] = %w{one two}
@node.expects(:classes=).with %w{one two}