Sha256: 4300243b178ef32755582560c9b02ea9038127940be873e01a5a15f78a0da07e

Contents?: true

Size: 220 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
imap-backup-3.2.0 spec/support/fixtures.rb
imap-backup-3.1.0 spec/support/fixtures.rb
imap-backup-3.0.0 spec/support/fixtures.rb
imap-backup-3.0.0.rc1 spec/support/fixtures.rb
imap-backup-2.2.2 spec/support/fixtures.rb