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

Rtn2g #465

Merged
merged 6 commits into from
Aug 24, 2016
Merged

Rtn2g #465

merged 6 commits into from
Aug 24, 2016

Conversation

EvgenyKarkan
Copy link
Contributor

No description provided.

done()
case .Connected:
if let transport = client.transport as? TestProxyTransport, let query = transport.lastUrl?.query {
expect(query).to(haveParam("lib", withValue: ARTDefault.libraryVersion()))
Copy link
Member

Choose a reason for hiding this comment

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

As mentioned in the REST test, I would be a lot happier know that the lib actually matches a string or regex we can read in the tests.

@mattheworiordan
Copy link
Member

Thanks @EvgenyKarkan, looks good, only small comment re: test readability and predictability. Out of interest, why did you commit ed233af?

@EvgenyKarkan
Copy link
Contributor Author

Thanks for feedback @mattheworiordan
As per your question, the short answer is - because of Ably code style reason.
After working on test on dependant branch RTN2g, I did a such fix on dependency branch RSC7b and then decided to merge it.

@mattheworiordan
Copy link
Member

Ok @EvgenyKarkan. This is probably exceptional because normally one PR (branch) can be based on another, but you need to be a collaborator in Github to do that. If we continue further, we'll of course make you a collaborator

done()
case .Connected:
if let transport = client.transport as? TestProxyTransport, let query = transport.lastUrl?.query {
expect(query).to(haveParam("lib", withValue: "ios-0.8.0-beta.1"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually we're at 0.8.4 now. I didn't even know that there was such thing as a bundle version. Can you update it?

@EvgenyKarkan
Copy link
Contributor Author

Hi @tcard , should I also update Ably library bundle version inside Info.plist file?

@tcard
Copy link
Contributor

tcard commented Aug 18, 2016

@EvgenyKarkan Yes, please.

@mattheworiordan
Copy link
Member

@tcard you happy for this to be merged?

@tcard
Copy link
Contributor

tcard commented Aug 23, 2016

Yes, LGTM.

@mattheworiordan mattheworiordan merged commit 9e23acd into ably:master Aug 24, 2016
mattheworiordan pushed a commit that referenced this pull request Aug 25, 2016
* RSC7b

* Minor cleanups.

* The more verbose way to check header value.

* Rtn2g (#465)

* RSC7b

* RTN2g

* Minor cleanups.

* Lib param expected value as explicitly string pattern.

* Bump lib bundle version, minor fix to expect its value in test.

* The more verbose way to check header value.
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