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

Fix RSC11: ignore environment when host is customized #489

Merged
merged 2 commits into from
Sep 8, 2016
Merged

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") {
Copy link
Contributor

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?

Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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

Copy link
Contributor

@tcard tcard Sep 8, 2016

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.

Copy link
Contributor

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.

@tcard
Copy link
Contributor

tcard commented Sep 7, 2016

LGTM, although a comment abut TOK3k2 would be nice.

@tcard tcard merged commit 6ebc09e into master Sep 8, 2016
@ricardopereira ricardopereira deleted the fix-rsc11 branch September 28, 2016 10:13
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