Sha256: fa06184af4ef2d4f49e7e64f1159b32e862c4d192eb791ffafa85a7ed66cacef
Contents?: true
Size: 220 Bytes
Versions: 3
Compression:
Stored size: 220 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.safe_load(fixture, [Symbol]) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
imap-backup-2.2.1 | spec/support/fixtures.rb |
imap-backup-2.2.0 | spec/support/fixtures.rb |
imap-backup-2.1.1 | spec/support/fixtures.rb |