Skip to content

Conversation

mikz
Copy link

@mikz mikz commented Oct 8, 2014

RSpec introduced configuration for disabling monkey patching main.

Unfortunately RspecApiDocumentation pollutes main scope by defining resource and depending on describe.

This patch moves the DSL to a module, extends ExampleGroup and leaves the rest on RSpec.

Also it requires all the dependencies by requiring rspec_api_documentation on the top.

oestrich added a commit that referenced this pull request Oct 8, 2014
Make DSL work with config.disable_monkeypatching!
@oestrich oestrich merged commit 0dc86f8 into zipmark:master Oct 8, 2014
@oestrich
Copy link
Contributor

oestrich commented Oct 8, 2014

Thanks!

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