Skip to content

Commit

Permalink
Fix failing test for invalid timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyboy committed Apr 18, 2018
1 parent 7b1310e commit b8c8e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/rest/auth_spec.rb
Expand Up @@ -1083,7 +1083,7 @@ def coerce_if_time_value(field_name, value, params = {})
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

Expand Down

0 comments on commit b8c8e96

Please sign in to comment.