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

Allow to configure format #34

Merged
merged 2 commits into from
Feb 16, 2014

Conversation

markijbema
Copy link
Contributor

In our project, all our approvals are json approvals. However, approvals defaults to text. I'd like to be able to state in the spec_helper that they are json, so I can just call verify {result.body} instead of verify(format: :json) { result.body }

@kytrinyx
Copy link
Contributor

Nice!

kytrinyx added a commit that referenced this pull request Feb 16, 2014
@kytrinyx kytrinyx merged commit 614acea into approvals:master Feb 16, 2014
@markijbema markijbema deleted the allow-to-configure-format branch February 16, 2014 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants