From 014758935503a48c5984897c9b12bd962c73b2d9 Mon Sep 17 00:00:00 2001 From: Tim Herby Date: Sun, 9 Nov 2014 16:05:15 -0800 Subject: [PATCH] Updates Channel#users spec to be ruby 1.8.x compatible --- spec/channel_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/channel_spec.rb b/spec/channel_spec.rb index 62b402e..b5df293 100644 --- a/spec/channel_spec.rb +++ b/spec/channel_spec.rb @@ -87,7 +87,7 @@ def stub_post_to_raise(e) describe '#users' do it "should call the Client#channel_users" do - @client.should_receive(:get).with("/channels/presence-mychannel/users").and_return({users:{'id'=>'4'}}) + @client.should_receive(:get).with("/channels/presence-mychannel/users").and_return({:users => {'id' => '4'}}) @channel = @client['presence-mychannel'] @channel.users end