Sha256: 1678ee91898f026dbcac87f63db32fca75d8718d3cfa7c8c5cadf38e920cd4b8
Contents?: true
Size: 333 Bytes
Versions: 2
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("", 1) Loquor.stubs(get: {foo: 'bar'}.to_json) response = show.execute assert response.is_a?(Representation) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.2.0 | test/api_calls/show_test.rb |
loquor-0.1.2 | test/api_calls/show_test.rb |