lib/submodules/ably-ruby/spec/acceptance/realtime/client_spec.rb in ably-rest-0.9.0 vs lib/submodules/ably-ruby/spec/acceptance/realtime/client_spec.rb in ably-rest-0.9.1
- old
+ new
@@ -257,10 +257,10 @@
context 'paged results' do
let(:channel_name) { random_str }
it 'provides paging' do
10.times do
- subject.rest_client.request(:post, "/channels/#{channel_name}/publish", {}, { 'name': 'test' })
+ subject.rest_client.request(:post, "/channels/#{channel_name}/publish", {}, { 'name' => 'test' })
end
subject.request(:get, "/channels/#{channel_name}/messages", { limit: 2 }).callback do |response|
expect(response.items.length).to eql(2)
expect(response).to be_has_next