Sha256: 44f07610d4dcda93bc0adcb014ce5698c5809ac0152dd6f1fd43e64bf53b96fb
Contents?: true
Size: 302 Bytes
Versions: 38
Compression:
Stored size: 302 Bytes
Contents
module FakeJsonHelper def fake_json(method, path, file_path, options = {}) FakeWeb.register_uri( method, File.join(FbGraph::ROOT_URL, path), options.merge( :body => File.read(File.join(File.dirname(__FILE__), '../fake_json', "#{file_path}.json")) ) ) end end
Version data entries
38 entries across 38 versions & 2 rubygems