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

RTL6c #406

Merged
merged 6 commits into from
May 5, 2016
Merged

RTL6c #406

merged 6 commits into from
May 5, 2016

Conversation

ricardopereira
Copy link
Contributor

No description provided.

@mattheworiordan
Copy link
Member

LGTM but will be revisited following @tcard's updates to the spe

@tcard
Copy link
Contributor

tcard commented May 4, 2016

PTAL

@tcard
Copy link
Contributor

tcard commented May 4, 2016

(By the way, that's up to date with ably/docs#112.)

ricardopereira and others added 6 commits May 4, 2016 18:54
It wasn't really testing the right thing. Should test when connection
is _already_ CONNECTED.
}

// RTL6c2
context("the message should be queued and delivered as soon as the connection state returns to CONNECTED if the connection is") {
Copy link
Member

Choose a reason for hiding this comment

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

The tests in this context test the message should be queued, but don't test and delivered as soon as the connection state returns to CONNECTED. Should we?

Copy link
Contributor

Choose a reason for hiding this comment

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

It is tested. All of them are calling a local publish function (line 1150) which publishes and waits for the callback. Or do you want to also subscribe to the channel and check if it's received? I don't think that's necessary, as other tests already prove that the publish callback is called upon successful delivery.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, you are right, leave as is

@mattheworiordan
Copy link
Member

One comment but otherwise great 👍

@tcard tcard mentioned this pull request May 5, 2016
@tcard tcard merged commit 97bbbd1 into master May 5, 2016
@tcard tcard deleted the rtl6c branch May 5, 2016 08:33
tcard pushed a commit that referenced this pull request May 16, 2016
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