spec/rspec_amqp_spec.rb in amqp-spec-0.2.7 vs spec/rspec_amqp_spec.rb in amqp-spec-0.3.0

- old
+ new

@@ -1,6 +1,6 @@ -require_relative 'spec_helper.rb' +require 'spec_helper' def publish_and_consume_once(queue_name="test_sink", data="data") amqp do q = MQ.queue(queue_name) q.subscribe do |hdr, msg| @@ -25,11 +25,11 @@ include AMQP::SpecHelper default_options AMQP_OPTS if defined? AMQP_OPTS default_timeout 1 - puts "Default timeout: #{default_timeout}, Default options:" - p default_options + puts "Default timeout: #{default_timeout}" + puts "Default options :#{default_options}" it_should_behave_like 'SpecHelper examples' context 'inside embedded context / example group' do \ No newline at end of file