lib/relaton/db_cache.rb in relaton-0.3.1 vs lib/relaton/db_cache.rb in relaton-0.3.2

- old
+ new

@@ -48,10 +48,10 @@ end # Returns all items # @return [Array<Hash>] def all - Dir.glob("testcache/**/*.xml").sort.map do |f| + Dir.glob("#{@dir}/**/*.xml").sort.map do |f| File.read(f, encoding: "utf-8") end end # Delete item