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

« back to all changes in this revision

Viewing changes to spec/unit/indirector/facts/couch_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:
4
4
require 'puppet/node/facts'
5
5
require 'puppet/indirector/facts/couch'
6
6
 
7
 
describe "Puppet::Node::Facts::Couch" do
 
7
describe "Puppet::Node::Facts::Couch", :'fails_on_ruby_1.9.2' => true do
8
8
  describe "when couchdb is not available", :unless => Puppet.features.couchdb? do
9
 
    it "should fail to initialize", :'fails_in_ruby_1.9.2' => true do
 
9
    it "should fail to initialize" do
10
10
      lambda { Puppet::Node::Facts::Couch.new }.should raise_error
11
11
    end
12
12
  end