Sha256: 892a5d23d8a3fd1bf5634e80146a5c8b635a3db9c503403e23fab161723580e1
Contents?: true
Size: 205 Bytes
Versions: 8
Compression:
Stored size: 205 Bytes
Contents
def fixture(name) spec_root = File.expand_path("..", File.dirname(__FILE__)) fixture_path = File.join(spec_root, "fixtures", name + ".yml") fixture = File.read(fixture_path) YAML.load(fixture) end
Version data entries
8 entries across 8 versions & 1 rubygems