Sha256: bcfdbaa140bc92c1bdb6e3aeebd0188ca0b20b4a608d15664e9dc5549c96fb93
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
require 'spec_helper' describe Apitool::Client::ApitoolClient do before(:context) do @client = Apitool::Client::ApitoolClient.new({ host: "127.0.0.1", port: 3001, ssl: false, token: API_KEY, version: "v2" }) end it "should be possible to establish a connection" do expect(@client).to_not be nil @client.send(:get, '') expect(@client.result).to be 200 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apitool-client-2.0.0 | spec/apitool/client/apitool_client_spec.rb |