```ruby
$:.unshift File.join( File.dirname(__FILE__), "..", "..", "lib")

require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.start 'rails'

require 'dotenv'

require 'spork'
#uncomment the following line to use spork with the debugger
#require 'spork/ext/ruby-debug'

require 'vcr'
require 'cucumber/rspec/doubles'

Spork.prefork do
  Dotenv.load
end

Spork.each_run do
  require 'open-orgn-services'

  VCR.configure do |c|
    # Automatically filter all secure details that are stored in the environment
    Dotenv.load.keys.each do |key|
      c.filter_sensitive_data("<#{key}>") { ENV[key] }
    end
    c.cassette_library_dir = 'fixtures/vcr_cassettes'
    c.hook_into :webmock
  end
end```

Add a place for post-test cleanup to go
user
```ruby
$:.unshift File.join( File.dirname(__FILE__), "..", "..", "lib")

require 'simplecov'
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.start 'rails'

require 'dotenv'

require 'spork'
#uncomment the following line to use spork with the debugger
#require 'spork/ext/ruby-debug'

require 'vcr'
require 'cucumber/rspec/doubles'

Spork.prefork do
  Dotenv.load
end

Spork.each_run do
  require 'open-orgn-services'

  VCR.configure do |c|
    # Automatically filter all secure details that are stored in the environment
    Dotenv.load.keys.each do |key|
      c.filter_sensitive_data("<#{key}>") { ENV[key] }
    end
    c.cassette_library_dir = 'fixtures/vcr_cassettes'
    c.hook_into :webmock
  end
  
  # Clean up any state left behind
  at_exit do
    # TODO clean up things created in Xero
  end
end```
assistant