Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTP6b #320

Merged
merged 1 commit into from
Mar 31, 2016
Merged

RTP6b #320

merged 1 commit into from
Mar 31, 2016

Conversation

ricardopereira
Copy link
Contributor

No description provided.

channel2.presence.enterClient("john", data: "online")
channel2.presence.updateClient("john", data: "away")
channel2.presence.leaveClient("john", data: nil)
done()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are not waiting to check that the update event was received by the subscribe callback, this test could complete before that assertion.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Plus, you have to make sure that no other event is recorded. I suspect this won't work provided that #319 doesn't work, so I don't think this test would pass.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plus, you have to make sure that no other event is recorded.

@tcard Can you clarify, please.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing, actually, I somehow missed this line...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done dc09a31.

@mattheworiordan
Copy link
Member

LGTM

1 similar comment
@tcard
Copy link
Contributor

tcard commented Mar 31, 2016

LGTM

@tcard tcard merged commit c86bc0f into master Mar 31, 2016
@ricardopereira ricardopereira deleted the rtp6b branch April 5, 2016 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants