Signed-off-by: Brice Figureau <[email protected]>
---
spec/unit/util/queue/stomp.rb | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/spec/unit/util/queue/stomp.rb b/spec/unit/util/queue/stomp.rb
index c4d8b76..b0b86e4 100755
--- a/spec/unit/util/queue/stomp.rb
+++ b/spec/unit/util/queue/stomp.rb
@@ -4,6 +4,8 @@ require File.dirname(__FILE__) + '/../../../spec_helper'
require 'puppet/util/queue'
describe Puppet::Util::Queue do
+ confine "Missing Stomp" => Puppet.features.stomp?
+
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'
@@ -11,6 +13,8 @@ describe Puppet::Util::Queue do
end
describe 'Puppet::Util::Queue::Stomp' do
+ confine "Missing Stomp" => Puppet.features.stomp?
+
before :all do
class Stomp::Client
include Mocha::Standalone
--
1.6.0.2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---