Sha256: 2039983c511cf9a06cbc1613a1a9955c2e4080f48c88f91ca52c6fc2e3263b06
Contents?: true
Size: 244 Bytes
Versions: 7
Compression:
Stored size: 244 Bytes
Contents
require 'json' def response_body_for(request) fixture_file = File.open(ROOT_DIR + "spec/fixtures/api_responses/#{request}.json") File.read(fixture_file) end def fixture_file(filename) File.new(ROOT_DIR + "spec/fixtures/#{filename}") end
Version data entries
7 entries across 7 versions & 1 rubygems