Skip to content

Commit

Permalink
Updates Channel#users spec to be ruby 1.8.x compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
timherby committed Nov 10, 2014
1 parent 4a6c156 commit 0147589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/channel_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 0147589

Please sign in to comment.