lib/submodules/ably-ruby/spec/acceptance/rest/time_spec.rb in ably-rest-1.0.6 vs lib/submodules/ably-ruby/spec/acceptance/rest/time_spec.rb in ably-rest-1.1.0

- old
+ new

@@ -11,10 +11,10 @@ expect(client.time).to be_within(2).of(Time.now) end context 'with reconfigured HTTP timeout' do let(:client) do - Ably::Rest::Client.new(http_request_timeout: 0.0001, key: api_key, environment: environment, protocol: protocol) + Ably::Rest::Client.new(http_request_timeout: 0.0001, key: api_key, environment: environment, protocol: protocol, log_retries_as_info: true) end it 'should raise a timeout exception' do expect { client.time }.to raise_error Ably::Exceptions::ConnectionTimeout end