summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-06 16:08:56 -0600
committerLuke Kanies <luke@madstop.com>2007-12-06 16:08:56 -0600
commit038b9c8d571581f13acc202a9dbbcf7e1f325ab3 (patch)
tree0fdd235c8d138e4a31757f1cc47fe7c731f9df6c /spec
parent507406bd44f01e151483f148fadc8d50a9640984 (diff)
downloadpuppet-038b9c8d571581f13acc202a9dbbcf7e1f325ab3.tar.gz
puppet-038b9c8d571581f13acc202a9dbbcf7e1f325ab3.tar.xz
puppet-038b9c8d571581f13acc202a9dbbcf7e1f325ab3.zip
Fixing #923. Resources that are collected on the local
host are no longer marked as not exported.
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/parser/collector.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/unit/parser/collector.rb b/spec/unit/parser/collector.rb
index c0e5f2298..450176f30 100755
--- a/spec/unit/parser/collector.rb
+++ b/spec/unit/parser/collector.rb
@@ -243,19 +243,6 @@ describe Puppet::Parser::Collector, "when collecting exported resources" do
@collector.evaluate.should == [one, two]
end
- it "should mark all returned resources as not exported" do
- stub_rails(true)
-
- one = stub 'one', :type => "Mytype", :virtual? => true, :exported? => true
-
- one.expects(:exported=).with(false)
- one.stubs(:virtual=)
-
- @compile.expects(:resources).returns([one])
-
- @collector.evaluate.should == [one]
- end
-
it "should mark all returned resources as not virtual" do
stub_rails(true)