Sha256: 100e03026f14db52612bc60de08be479039252dbb2f4859ae4f02c71c264f5b5
Contents?: true
Size: 420 Bytes
Versions: 2
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: "v1" }) 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apitool-client-0.0.8 | spec/apitool/client/apitool_client_spec.rb |
apitool-client-0.0.7 | spec/apitool/client/apitool_client_spec.rb |