From 27b093099162cd109f833811faaa4cab6e73b85b Mon Sep 17 00:00:00 2001 From: Mathias Gawlista Date: Mon, 6 May 2013 20:22:41 +0200 Subject: [PATCH] Migrated deprecated behaviour of calling a let declaration in a before all hook. --- spec/client_modules/cache_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/client_modules/cache_spec.rb b/spec/client_modules/cache_spec.rb index ffc47d0..69c56a3 100644 --- a/spec/client_modules/cache_spec.rb +++ b/spec/client_modules/cache_spec.rb @@ -12,7 +12,7 @@ describe MusicBrainz::ClientModules::CachingProxy do 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