Sha256: f41494ef2a19b4290ea0081e0ca13089c0252fb7d73cc4d3c664ca085dcd5618
Contents?: true
Size: 234 Bytes
Versions: 12
Compression:
Stored size: 234 Bytes
Contents
require "json" module FixtureHelpers def load_fixture(file_name) File.read(File.join("./spec/fixtures", file_name)) end def load_json_fixture(file_name) require "json" JSON.parse(load_fixture(file_name)) end end
Version data entries
12 entries across 12 versions & 1 rubygems