Sha256: b86c6e8c9bba0a88ce4f54945d41ec87f4b14f69bdff4f6a9305df5a9112c698
Contents?: true
Size: 398 Bytes
Versions: 7
Compression:
Stored size: 398 Bytes
Contents
require 'spec_helper' describe Ably::Rest::Client, '#time' do vary_by_protocol do let(:client) do Ably::Rest::Client.new(api_key: api_key, environment: environment, protocol: protocol) end describe 'fetching the service time' do it 'should return the service time as a Time object' do expect(client.time).to be_within(2).of(Time.now) end end end end
Version data entries
7 entries across 7 versions & 2 rubygems