honestly, I'd probably just set it to `nil` in a before hook:

``` ruby
shared_context "with isolated configuration" do
  before { RSpec::Mocks.instance_variable_set(:@configuration, nil) }
end
```

I think that's all you need, since the config is lazily initialized.