You're globally mutating the config here.  Among other things, this can cause problems, where other specs in the suite will behave differently if run in isolation (e.g. without this file, so this config isn't set) or if run with all spec files loaded (so this is set).

Can you set this in a `before(:all)` hook and then undo it in `after(:all)`?