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

« back to all changes in this revision

Viewing changes to spec/integration/resource/catalog_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:
1
1
#!/usr/bin/env rspec
2
 
#
3
 
#  Created by Luke Kanies on 2007-4-8.
4
 
#  Copyright (c) 2008. All rights reserved.
5
 
 
6
2
require 'spec_helper'
7
3
 
8
4
describe Puppet::Resource::Catalog do
13
9
  end
14
10
 
15
11
  describe "when using the indirector" do
16
 
    after { Puppet::Util::Cacher.expire }
17
12
    before do
18
13
      # This is so the tests work w/out networking.
19
14
      Facter.stubs(:to_hash).returns({"hostname" => "foo.domain.com"})