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

« back to all changes in this revision

Viewing changes to spec/unit/indirector/facts/inventory_active_record_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:
22
22
  end
23
23
 
24
24
  before :each do
 
25
    Puppet::Node.indirection.reset_terminus_class
 
26
    Puppet::Node.indirection.cache_class = nil
 
27
 
25
28
    Puppet::Node::Facts.indirection.terminus_class = :inventory_active_record
26
29
    Puppet[:dbadapter]  = 'sqlite3'
27
30
    Puppet[:dblocation] = @dbfile.path