lib/submodules/ably-ruby/spec/acceptance/rest/auth_spec.rb in ably-rest-1.0.0 vs lib/submodules/ably-ruby/spec/acceptance/rest/auth_spec.rb in ably-rest-1.0.5

- old
+ new

@@ -1081,10 +1081,10 @@ it 'fails if timestamp is invalid' do expect { auth.request_token(timestamp: Time.now - 180) }.to raise_error do |error| expect(error).to be_a(Ably::Exceptions::UnauthorizedRequest) expect(error.status).to eql(401) - expect(error.code).to eql(40101) + expect(error.code).to eql(40104) end end it 'cannot be renewed automatically' do expect(token_auth_client.auth).to_not be_token_renewable