diff options
| author | Nick Lewis <nick@puppetlabs.com> | 2011-01-06 16:01:10 -0800 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-01-06 16:01:10 -0800 |
| commit | 03cc835eb04a5f9e5c1c5bcf6b988378f4bdab69 (patch) | |
| tree | 28da3fd7c329de073e71b5b1ba1be01ec4e54b6f /spec/unit/util/queue | |
| parent | 9b2b4aebed29f035415c1f7324943d3ba2993ea2 (diff) | |
| parent | f663182c28c9d4533ad4c2f897e5fbbf78b16d8e (diff) | |
Merge branch 'next'
Diffstat (limited to 'spec/unit/util/queue')
| -rwxr-xr-x | spec/unit/util/queue/stomp_spec.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/unit/util/queue/stomp_spec.rb b/spec/unit/util/queue/stomp_spec.rb index 3b893fe78..a11d5324e 100755 --- a/spec/unit/util/queue/stomp_spec.rb +++ b/spec/unit/util/queue/stomp_spec.rb @@ -3,18 +3,14 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') require 'puppet/util/queue' -describe Puppet::Util::Queue do - confine "Missing Stomp" => Puppet.features.stomp? - +describe Puppet::Util::Queue, :if => Puppet.features.stomp? do it 'should load :stomp client appropriately' do Puppet.settings.stubs(:value).returns 'faux_queue_source' Puppet::Util::Queue.queue_type_to_class(:stomp).name.should == 'Puppet::Util::Queue::Stomp' end end -describe 'Puppet::Util::Queue::Stomp' do - confine "Missing Stomp" => Puppet.features.stomp? - +describe 'Puppet::Util::Queue::Stomp', :if => Puppet.features.stomp? do before do # So we make sure we never create a real client instance. # Otherwise we'll try to connect, and that's bad. |
