spec/acceptance/rest/channel_spec.rb in ably-0.1.1 vs spec/acceptance/rest/channel_spec.rb in ably-0.1.2

- old
+ new

@@ -36,11 +36,11 @@ actual_history = channel.history expect(actual_history.size).to eql(3) expected_history.each do |message| - expect(actual_history).to include(Ably::Message.new(message)) - expect(actual_history.map(&:raw_message)).to include(message) + expect(actual_history).to include(Ably::Rest::Models::Message.new(message)) + expect(actual_history.map(&:json)).to include(message) end end it "should return paged history" do page_1 = channel.history(limit: 1)