Sha256: ce1e11d9fa2317a76ce6ead4ab31b731d90554860719a53a34800db749b37392
Contents?: true
Size: 495 Bytes
Versions: 16
Compression:
Stored size: 495 Bytes
Contents
RSpec.describe Relaton::DbCache do it "creates default caches" do cache_path = File.expand_path("~/.relaton/cache") FileUtils.mv cache_path, "relaton1/cache", force: true FileUtils.rm_rf %w(relaton) Relaton::DbCache.init_bib_caches( global_cache: true, local_cache: "", flush_caches: true, ) expect(File.exist?(cache_path)).to be true expect(File.exist?("relaton")).to be true FileUtils.mv "relaton1/cache", cache_path if File.exist? "relaton1" end end
Version data entries
16 entries across 16 versions & 2 rubygems