Sha256: d9e005bf75783c35b5b995fe8fd3b2f5d54b7b6df99524e67662df621a6f9161

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

$:.unshift File.expand_path("../..", __FILE__)

require 'mail_extract'

def fixture_path(file=nil)
  path = File.expand_path("../fixtures", __FILE__)
  path = File.join(path, file) unless file.nil?
  path
end

def fixture(file)
  File.read(File.join(fixture_path, file))
end

def result_fixture(file)
  fixture("result_#{file}")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mail_extract-0.1.2 spec/spec_helper.rb
mail_extract-0.1.1 spec/spec_helper.rb
mail_extract-0.1.0 spec/spec_helper.rb