diff options
| author | Paul Berry <paul@puppetlabs.com> | 2010-11-29 14:33:49 -0800 |
|---|---|---|
| committer | Paul Berry <paul@puppetlabs.com> | 2010-11-29 14:33:49 -0800 |
| commit | cb6e9c990945501962bf9bf864309e8e6f83b827 (patch) | |
| tree | 7109f1605e4dceca9e48ef58b41bda559ba4901d /spec/unit/node | |
| parent | 52f9ef06507d87026936dc90dcb467a728ebd54f (diff) | |
| parent | 71ecad9904c8c48c023e90e5fbea5b26b180c9cf (diff) | |
Merge branch 'maint/next/remove_indirection_delegation' into next
* maint/next/remove_indirection_delegation:
Maint: Refactor code to use <class>.indirection.<method>
Maint: Refactor tests to use <class>.indirection.<method>
Diffstat (limited to 'spec/unit/node')
| -rwxr-xr-x | spec/unit/node/facts_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/unit/node/facts_spec.rb b/spec/unit/node/facts_spec.rb index cb2aa3dc7..7873b415d 100755 --- a/spec/unit/node/facts_spec.rb +++ b/spec/unit/node/facts_spec.rb @@ -76,12 +76,6 @@ describe Puppet::Node::Facts, "when indirecting" do @facts = Puppet::Node::Facts.new("me", "one" => "two") end - it "should redirect to the specified fact store for retrieval" do - Puppet::Node::Facts.stubs(:indirection).returns(@indirection) - @indirection.expects(:find) - Puppet::Node::Facts.find(:my_facts) - end - it "should redirect to the specified fact store for storage" do Puppet::Node::Facts.stubs(:indirection).returns(@indirection) @indirection.expects(:save) |
