```ruby
require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'

RSpec.configure do |config|
  config.platform = 'mac_os_x'
  config.version = '10.8.2' # FIXME: system ruby and fauxhai don't play nice
  #                           since there is no 10.9.2.json file yet. We
  #                           should submit a PR to fauxhai to fix this
  config.before { stub_const('ENV', 'SUDO_USER' => 'fauxhai') }
  config.after(:suite)  { FileUtils.rm_r('.librarian') }
end
```

Use Fauxhai platform version 10.11.1 instead of 10.8.2
user
```ruby
require 'spec_helper'
require 'chefspec'
require 'chefspec/librarian'

RSpec.configure do |config|
  config.platform = 'mac_os_x'
  config.version = '10.11.1' # via https://github.com/customink/fauxhai/tree/master/lib/fauxhai/platforms/mac_os_x
  config.before { stub_const('ENV', 'SUDO_USER' => 'fauxhai') }
  config.after(:suite)  { FileUtils.rm_r('.librarian') }
end
```
assistant