spec/client_modules/cache_spec.rb in musicbrainz-0.7.4 vs spec/client_modules/cache_spec.rb in musicbrainz-0.7.5
- old
+ new
@@ -10,10 +10,10 @@
let(:test_cache_file){ "#{tmp_cache_path}/03/48/ec/6c2bee685d9a96f95ed46378f624714e7a4650b0d44c1a8eee5bac2480.xml" }
let(:test_response_file){ File.join(File.dirname(__FILE__), "../fixtures/kasabian.xml") }
let(:test_response){ File.open(test_response_file).read }
before(:all) do
- MusicBrainz.config.cache_path = tmp_cache_path
+ MusicBrainz.config.cache_path = File.join(File.dirname(__FILE__), '..', '..', 'tmp', 'cache_module_spec_cache')
end
after(:all) do
MusicBrainz.config.cache_path = old_cache_path
MusicBrainz.config.perform_caching = true