~ubuntu-branches/ubuntu/trusty/puppet/trusty

« back to all changes in this revision

Viewing changes to spec/unit/node/facts_spec.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-10-22 14:08:22 UTC
  • mfrom: (1.1.25) (3.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20111022140822-odxde5lohc45yhuz
Tags: 2.7.6-1
* New upstream release (CVE-2011-3872)
* Remove cherry-picked "groupadd_aix_warning" patch
* Install all new manpages

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    before do
69
69
      @indirection = stub 'indirection', :request => mock('request'), :name => :facts
70
70
 
71
 
      # We have to clear the cache so that the facts ask for our indirection stub,
72
 
      # instead of anything that might be cached.
73
 
      Puppet::Util::Cacher.expire
74
 
 
75
71
      @facts = Puppet::Node::Facts.new("me", "one" => "two")
76
72
    end
77
73