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

Added analysis_job_id and audio_recording_id to results API #284

Merged
merged 2 commits into from
Apr 13, 2016

Conversation

atruskie
Copy link
Member

Also needed to add support for modifying the options that were passed
into the rspec_api_documentation helper method
standard_request_options

Closes #282

Also needed to add support for modifying the options that were passed
into the rspec_api_documentation helper method
`standard_request_options`
@atruskie
Copy link
Member Author

Tests pass locally. Travis error seems to be because of https://github.com/brigade/haml-lint/blob/master/CHANGELOG.md#0130

# @return [void]
def standard_request_options(http_method, description, expected_status, opts = {})
def standard_request_options(http_method, description, expected_status, opts = {}, &opts_mod)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not so sure about this proc - a block might be better. I'll have a look at it.

Copy link
Member Author

Choose a reason for hiding this comment

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

the proc is needed because AFAIK you can't pass a block through to another closure without an explicit name. Otherwise the implicit block of the closure would be referenced. example on line 37, has its own block. Using yield on 41 I think causes issues.

@cofiem cofiem merged commit 4b1ba94 into develop Apr 13, 2016
@cofiem cofiem deleted the analysis-results-foreign-keys branch April 27, 2016 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants