Sha256: 2745b3cfd6f2d9321eb0d7ede554447f77f766de6d1fcdf71d39364fc58fcce1
Contents?: true
Size: 280 Bytes
Versions: 32
Compression:
Stored size: 280 Bytes
Contents
require 'yaml' require 'json' module FixtureHelpers module_function def load_json_fixture(name) JSON.parse(Yaks::Root.join('spec/json', name + '.json').read) end def load_yaml_fixture(name) YAML.load(Yaks::Root.join('spec/yaml', name + '.yaml').read) end end
Version data entries
32 entries across 32 versions & 2 rubygems