summaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-04 17:07:47 -0500
committerLuke Kanies <luke@madstop.com>2007-10-04 17:07:47 -0500
commit1fa591287a4ab921cec628aa0c5bf58d61fbdef2 (patch)
treef6321fde5b3256b6d0752b91af971d08bdc0ed7f /spec/integration
parent95b2b93290f619c20a1c2dca11dd9909477857f8 (diff)
Adding the integration tests to the Rakefile for spec,
fixing the integration tests, and extending the Classmethods for the indirector so that indirected classes can set the terminus class and cache class.
Diffstat (limited to 'spec/integration')
-rwxr-xr-xspec/integration/checksum.rb3
-rwxr-xr-xspec/integration/node.rb2
2 files changed, 2 insertions, 3 deletions
diff --git a/spec/integration/checksum.rb b/spec/integration/checksum.rb
index f112f7502..cb187c656 100755
--- a/spec/integration/checksum.rb
+++ b/spec/integration/checksum.rb
@@ -9,8 +9,7 @@ require 'puppet/checksum'
describe Puppet::Checksum, " when using the file terminus" do
before do
- Puppet[:checksum_terminus] = "file"
-
+ Puppet::Checksum.terminus_class = :file
@content = "this is some content"
@sum = Puppet::Checksum.new(@content)
diff --git a/spec/integration/node.rb b/spec/integration/node.rb
index 8bc641bae..e4a311998 100755
--- a/spec/integration/node.rb
+++ b/spec/integration/node.rb
@@ -10,8 +10,8 @@ require 'puppet/node'
describe Puppet::Node, " when using the memory terminus" do
before do
@name = "me"
+ Puppet::Node.terminus_class = :memory
@node = Puppet::Node.new(@name)
- Puppet[:node_terminus] = "memory"
end
it "should find no nodes by default" do