Sha256: c11fd92e290015e58d9b81d14b183b8836bb0cdfd67cb714062b92ef4d8eb80f
Contents?: true
Size: 333 Bytes
Versions: 6
Compression:
Stored size: 333 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) module Loquor class ApiCall::ShowTest < Minitest::Test def test_response_is_a_representation show = ApiCall::Show.new(Resource, 1) Loquor.stubs(get: {foo: 'bar'}.to_json) response = show.execute assert response.is_a?(Resource) end end end
Version data entries
6 entries across 6 versions & 1 rubygems