savonrb / savon

Heavy metal SOAP client
https://www.savonrb.com
MIT License
2.07k stars 616 forks source link

test: Configure RSpec w/o monkey-patches #964

Closed olleolleolle closed 3 years ago

olleolleolle commented 3 years ago

What kind of change is this?

A maintenance change to make RSpec usage compliant with the future.

Did you add tests for your changes?

No, these were RSpec configuration changes.

Summary of changes

Enables zero monkey patching mode for RSpec. It removes monkey patching of the top-level DSL methods (describe, shared_examples_for, etc) onto main and Module, instead requiring you to prefix these methods with RSpec.. It enables expect-only syntax for rspec-mocks and rspec-expectations. It simply disables monkey patching on whatever pieces of RSpec the user is using.