Sha256: d92dcbd6a50e65d114cecf9a781dd6c734f560d4ea9ea1165f193c2dba374426
Contents?: true
Size: 476 Bytes
Versions: 12
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DHS::Data do before do class Record < DHS::Record endpoint '{+datastore}/v2/{campaign_id}/feedbacks' endpoint '{+datastore}/v2/feedbacks' end end let(:json) do load_json(:feedbacks) end let(:data) do DHS::Data.new(json, nil, Record) end let(:item) do data[0] end it 'does not respond to to_ary' do expect(item.respond_to?(:to_ary)).to eq false end end
Version data entries
12 entries across 12 versions & 1 rubygems