File: test_helper.rb

package info (click to toggle)
sup-mail 0.22.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,168 kB
  • sloc: ruby: 12,583; sh: 115; makefile: 9
file content (10 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
require "rubygems" rescue nil
require 'minitest/autorun'
require "rr"

def fixture(filename)
  file = ''
  path = File.expand_path("../fixtures/#{filename}", __FILE__)
  File.open(path) { |io| file = io.read }
  file
end