-
Notifications
You must be signed in to change notification settings - Fork 26
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
Rsc7b #464
Rsc7b #464
Conversation
expect(error).to(beNil()) | ||
let headerLibVersion = testHTTPExecutor.requests.first!.allHTTPHeaderFields?["X-Ably-Lib"] | ||
let ablyBundleLibVersion = ARTDefault.libraryVersion() | ||
expect(headerLibVersion).to(equal(ablyBundleLibVersion)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whilst I understand that you don't necessarily want the the test to change for every time a version changes, it does feel like this test needs to be a bit more verbose i.e. can it not at least check that the header matches ios-0.8.*
for example? It just means the test confirms what we expect as opposed to simply referencing another part of the internals of the lib.
Thansk, minor comments otherwise good, 👍 |
Thanks for feedback, I'll try to improve it. |
Hi @mattheworiordan, I've added commit, please find time to review it. |
Thanks, 👍 |
Can this PR please be rebased onto master as I cannot merge automatically? |
Morning @mattheworiordan , no more conflicts here. |
Thanks @EvgenyKarkan |
No description provided.