Skip to content

Commit

Permalink
Merge pull request #301 from ably/fix-timestamp-test
Browse files Browse the repository at this point in the history
Fix: expect timestamp with higher delta
  • Loading branch information
ricardopereira committed Mar 17, 2016
2 parents 50cd090 + da5b84d commit 0d38802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Spec/Auth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ class Auth : QuickSpec {
delay(0.25) {
let now = NSDate().artToIntegerMs()
let firstParamsTimestamp = params.timestamp.artToIntegerMs()
expect(firstParamsTimestamp).to(beCloseTo(now, within: 1.0))
expect(firstParamsTimestamp).to(beCloseTo(now, within: 1.5))
delay(0.25) {
expect(params.timestamp.artToIntegerMs()).to(equal(firstParamsTimestamp))
done()
Expand Down

0 comments on commit 0d38802

Please sign in to comment.