Sha256: 7b4b7564c45a82cf2de09bcffe0a34b2d862cf10798e6acc769a1b80d0e2990c
Contents?: true
Size: 699 Bytes
Versions: 14
Compression:
Stored size: 699 Bytes
Contents
RSpec.describe Relaton::DbCache do it "creates default caches" do FileUtils.mv File.expand_path("~/.relaton"), "relaton1", force: true FileUtils.rm_rf %w(relaton) Relaton::DbCache.init_bib_caches(global_cache: true, local_cache: "", flush_caches: true) expect(File.exist?(File.expand_path("~/.relaton"))).to be true expect(File.exist?("relaton")).to be true FileUtils.mv "relaton1", File.expand_path("~/.relaton") if File.exist? "relaton1" end # it "returns fetched" do # FileUtils.mv File.expand_path("~/.relaton"), "relaton1", force: true # FileUtils.rm_rf %w(relaton) # Relaton::DbCache.init_bib_caches(global_cache: true, local_cache: "") # end end
Version data entries
14 entries across 14 versions & 1 rubygems