interagent / pliny

An opinionated toolkit for writing excellent APIs in Ruby.
MIT License
802 stars 73 forks source link

Enable RSpec zero monkey patching mode #226

Closed soulim closed 9 years ago

soulim commented 9 years ago

RSpec 3 configuration has disable_monkey_patching! option that removes monkey patching of the methods like describe and shared_examples_for onto main and Module. This should be default in RSpec 4.

This change will require update for existing specs on apps, but transpec gem might help with that.

I would be happy to know your thought on this one. Thank you for doing awesome job! :smile:

brandur commented 9 years ago

I like it! Most existing projects should already have a well-defined spec_helper, so I don't think this will break anybody. Thanks!