Sha256: 2b4c6cf27f59ff69afeedaef26e75cbb55ff39a06d3cdfbe4c7e45998b3d87fd
Contents?: true
Size: 290 Bytes
Versions: 9
Compression:
Stored size: 290 Bytes
Contents
require 'multi_json' def load_fixture(file, _as_json = false) JSON.parse(File.read(File.dirname(__FILE__) + "/../fixtures/#{file}.json")).with_indifferent_access end def load_json(file, _as_json = false) JSON.parse(File.read(File.dirname(__FILE__) + "/../fixtures/#{file}.json")) end
Version data entries
9 entries across 9 versions & 2 rubygems