spec/spec_helper.rb in berkshelf-api-0.1.0 vs spec/spec_helper.rb in berkshelf-api-0.2.0
- old
+ new
@@ -23,10 +23,10 @@
config.before(:all) { Berkshelf::API::Logging.init(location: '/dev/null') }
config.before do
Celluloid.shutdown
Celluloid.boot
- Berkshelf::API::CacheManager.cache_file = tmp_path.join('cerch').to_s
+ ENV['BERKSHELF_API_PATH'] = tmp_path.join('api-server').to_s
clean_tmp_path
end
end
def app_root_path