diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-06 16:08:56 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-06 16:08:56 -0600 |
commit | 038b9c8d571581f13acc202a9dbbcf7e1f325ab3 (patch) | |
tree | 0fdd235c8d138e4a31757f1cc47fe7c731f9df6c /spec | |
parent | 507406bd44f01e151483f148fadc8d50a9640984 (diff) | |
download | puppet-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-x | spec/unit/parser/collector.rb | 13 |
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) |