Sha256: fa47a7364351de847fed2dc9bcd2b4aade737c8f814533e49a9c70bebef9e1cb
Contents?: true
Size: 394 Bytes
Versions: 6
Compression:
Stored size: 394 Bytes
Contents
module Spec module Fixtures def tmp_path(name) file = Tempfile.new(name) path = file.path file.unlink path end def tmp(path) File.expand_path("../../tmp/#{path}", __FILE__) end def fixture(path) File.expand_path("../../fixtures/#{path}", __FILE__) end def read_fixture(path) File.read fixture(path) end end end
Version data entries
6 entries across 6 versions & 2 rubygems