Sha256: 5f44553cdfdc13c449718c8ae6ce7f0fc8d68e6cc9ef44445b8de0e1b33025d5
Contents?: true
Size: 567 Bytes
Versions: 18
Compression:
Stored size: 567 Bytes
Contents
require File.expand_path("../../spec_helper", __FILE__) module Bamboo describe Client do it "returns a client for the REST API" do client = Client.for :rest, "http://bamboo.com" client.should be_kind_of(Client::Rest) end it "returns a client for the Remote API" do client = Client.for :remote, "http://bamboo.com" client.should be_kind_of(Client::Remote) end it "raises ArgumentError if the client is unknown" do lambda { Client.for :foo, "http://foo.com" }.should raise_error(ArgumentError) end end end
Version data entries
18 entries across 18 versions & 1 rubygems