spec/acceptance/realtime/time_spec.rb in ably-0.7.5 vs spec/acceptance/realtime/time_spec.rb in ably-0.7.6
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe Ably::Realtime::Client, '#time', :event_machine do
vary_by_protocol do
let(:client) do
- Ably::Realtime::Client.new(api_key: api_key, environment: environment, protocol: protocol)
+ Ably::Realtime::Client.new(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
run_reactor do