Skip to content

Commit

Permalink
Adapt for amq-protocol 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Klishin committed Feb 20, 2013
1 parent 868cde2 commit 6c2b044
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/integration/store_and_forward_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@
@queue.subscribe(:ack => false) do |payload|
payload.should_not be_nil
number_of_received_messages += 1
if RUBY_VERSION =~ /^1.9/
payload.force_encoding("UTF-8").should == dispatched_data
else
payload.should == dispatched_data
end
payload.should == dispatched_data
end # subscribe

expected_number_of_messages.times do
Expand Down

0 comments on commit 6c2b044

Please sign in to comment.