Sha256: f700f94b138df89bc30b6c48435263a6336a67e867a0b3bd3ef0604f34514632
Contents?: true
Size: 401 Bytes
Versions: 9
Compression:
Stored size: 401 Bytes
Contents
module MMS2R module TestHelper def assert_file_size(file, size) assert_not_nil(file, "file was nil") assert(File::exist?(file), "file #{file} does not exist") assert(File::size(file) == size, "file #{file} is #{File::size(file)} bytes, not #{size} bytes") end def load_mail(file) IO.readlines("#{File.dirname(__FILE__)}/fixtures/#{file}") end end end
Version data entries
9 entries across 9 versions & 1 rubygems