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

RTP16c #318

Merged
merged 2 commits into from
Mar 24, 2016
Merged

RTP16c #318

merged 2 commits into from
Mar 24, 2016

Conversation

ricardopereira
Copy link
Contributor

No description provided.

context("Connection state conditions") {

// RTP16c
pending("should result in an error if the connection state is INITIALIZED") {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm probably missing something, but where in this test is the connection INITIALIZED? Won't it be CONNECTING right away?

Also, I'm not really sure this applies to INITIALIZED since it's not an state change. @mattheworiordan could you confirm this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you right. The connection is in the CONNECTING state. I verified the ruby test (keep in mind that I'm not comfortable with ruby) and it seems to check the INITIALIZED state: https://github.com/ably/ably-ruby/blob/6e8e1ea7949026f19fa4c1405ccb5d8b96c3aeb9/spec/acceptance/realtime/presence_spec.rb#L58-L64

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 aef47db.

@tcard
Copy link
Contributor

tcard commented Mar 23, 2016

LGTM

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.

2 participants