Sha256: 88ed5105b62e6658aeceae723a3c07c13d1588421b466dda274a8fcd78681d54
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
require 'test/unit' require_relative '../lib/APIClient' class APIClientTests < Test::Unit::TestCase def test_get api_client = APIClient.new http_client:self api_client.get(path:'/bob face') assert_equal('https://allegro-test-database.herokuapp.com/bob%20face',@path) end def get(path, options) @path = path return self end def body {}.to_json end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
allegro_api_client-0.0.2 | test/test_git_repository_commit.rb |