Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

[#84] Report invalid contexts gracefully #85

Merged
merged 3 commits into from
Jan 28, 2016
Merged

[#84] Report invalid contexts gracefully #85

merged 3 commits into from
Jan 28, 2016

Conversation

kayvonghaffari
Copy link
Contributor

[#84]

@kayvonghaffari
Copy link
Contributor Author

screen shot 2016-01-22 at 11 18 41 am

@roberthoner roberthoner self-assigned this Jan 27, 2016
@roberthoner roberthoner added this to the 0.5.2 milestone Jan 27, 2016
@@ -67,10 +67,9 @@ def _setup_example(ex)

begin
spec = @rester_stub[path][verb][context]
_stub_path_not_found(path, verb, context) if spec.nil?
Copy link
Contributor

Choose a reason for hiding this comment

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

How about unless spec? Matches our style more.

@roberthoner
Copy link
Contributor

Is there a way we can test for this case?

@roberthoner
Copy link
Contributor

Code review looks good.

roberthoner pushed a commit that referenced this pull request Jan 28, 2016
[#84] Report invalid contexts gracefully
@roberthoner roberthoner merged commit e09eda5 into master Jan 28, 2016
@roberthoner roberthoner deleted the issue/84 branch January 28, 2016 18:41
@kayvonghaffari kayvonghaffari restored the issue/84 branch February 3, 2016 03:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants