spec/acceptance/rest/base_spec.rb in ably-0.8.15 vs spec/acceptance/rest/base_spec.rb in ably-1.0.0
- old
+ new
@@ -135,10 +135,10 @@
end
end
context 'when auth#token_renewable?' do
before do
- client.auth.authorise
+ client.auth.authorize
end
it 'should automatically reissue a token' do
client.channel(channel).publish('evt', 'msg')
expect(@publish_attempts).to eql(1)