Sha256: 6483cd586a25bf9837253de8de2d54152a613a4d8f1e6c727998d35531c85843
Contents?: true
Size: 236 Bytes
Versions: 1
Compression:
Stored size: 236 Bytes
Contents
module FixturesHelper def self.read_file(filename) path = File.join(File.dirname(__FILE__), "..", "fixtures", filename) File.read(path) end def self.read_json_file(filename) JSON.parse(read_file(filename)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
treedisha-0.0.2 | spec/support/fixtures_helper.rb |