-
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
Fix RSC11: ignore environment when host is customized #489
Conversation
@@ -173,8 +173,20 @@ class RestClient: QuickSpec { | |||
|
|||
expect(testHTTPExecutor.requests.first?.URL?.host).toEventually(equal("fake.ably.io"), timeout: testTimeout) | |||
} | |||
|
|||
it("should ignore an environment when host is not in production") { |
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.
What does a host being "in production" mean?
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.
@tcard not sure if @ricardopereira is around unfortunately.
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.
@tcard I assumed that "in production" is when restHost ≠ default value.
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.
@tcard perhaps you should just take the PR and reword as you see fit as @ricardopereira is away on holiday for a little while still
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.
OK, I think that "when environment
is not 'production'" is more explicit.
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.
Sorry, that's not what's happening here at all. Well, da76de0 it is.
LGTM, although a comment abut TOK3k2 would be nice. |
Fix for https://github.com/ably/ably-ios/pull/473/files/2d05f1bdffb5587cdd006a7e0ebefd158c67c8fb#r77165419