```ruby
require 'rubygems'
require 'bundler/setup'

require 'active_resource'
require 'active_support'

$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'cached_resource'


RSpec.configure do |config|
  # nada
end```

Clear cached resource cache at start and end of testing
user
```ruby
require 'rubygems'
require 'bundler/setup'

require 'active_resource'
require 'active_support'

$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'cached_resource'


RSpec.configure do |config|
  # nada
end

# clear cache at beginning and end of execution
CachedResource.cache.clear
at_exit { CachedResource.cache.clear }```
assistant