lib/submodules/ably-ruby/spec/acceptance/rest/client_spec.rb in ably-rest-1.2.0 vs lib/submodules/ably-ruby/spec/acceptance/rest/client_spec.rb in ably-rest-1.2.1
- old
+ new
@@ -1079,10 +1079,10 @@
expect(client.auth.options[:auth_url]).to eql(dummy_auth_url)
end
end
context 'version headers', :webmock do
- [nil, 'ably-ruby/1.1.1 ruby/1.9.3'].each do |agent|
+ [nil, 'ably-ruby/1.1.1 ruby/3.1.1'].each do |agent|
context "with #{agent ? "custom #{agent}" : 'default'} agent" do
let(:client_options) { default_options.merge(key: api_key, agent: agent) }
let!(:publish_message_stub) do
stub_request(:post, "#{client.endpoint}/channels/foo/publish").