summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <bryanm@widemile.com>2008-11-25 18:08:29 -0800
committerBryan McLellan <bryanm@widemile.com>2008-11-25 18:08:29 -0800
commit0734370b740a90c8eb5a901370e331fc37ababc5 (patch)
tree35010c7d59cc2fddec3b2cc61930e440bb6c8d2a
parent4e8526be1cb92de181775eae4fe369f3b40b8be8 (diff)
downloadchef-0734370b740a90c8eb5a901370e331fc37ababc5.tar.gz
switch queue spec to match reliable=false in stomp
-rw-r--r--chef/spec/unit/queue_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/spec/unit/queue_spec.rb b/chef/spec/unit/queue_spec.rb
index 8afe29d2ec..ce766192dc 100644
--- a/chef/spec/unit/queue_spec.rb
+++ b/chef/spec/unit/queue_spec.rb
@@ -21,7 +21,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), "..", "spec_helper"))
describe Chef::Queue do
it "should connect to a stomp server on localhost and 61613" do
- Stomp::Connection.should_receive(:open).with("", "", "localhost", 61613, true).once
+ Stomp::Connection.should_receive(:open).with("", "", "localhost", 61613, false).once
Chef::Queue.connect
end
@@ -30,7 +30,7 @@ describe Chef::Queue do
Chef::Config[:queue_password] = "password"
Chef::Config[:queue_host] = "10.10.10.10"
Chef::Config[:queue_port] = 61614
- Stomp::Connection.should_receive(:open).with("monkey", "password", "10.10.10.10", 61614, true).once
+ Stomp::Connection.should_receive(:open).with("monkey", "password", "10.10.10.10", 61614, false).once
Chef::Queue.connect
end