You can use the ["with isolated configuration"](https://github.com/rspec/rspec-mocks/blob/master/spec/spec_helper.rb#L72-L82) shared context to manage the configuration isolation.  Just include the context in your example group:

``` ruby
describe "the example group" do
  include_context "with isolated configuration"

  # ...
end
```