Sha256: 431b9d702111c045da4a95f32a96ef6589cdddf3b44161394a38b123cb7c263c

Contents?: true

Size: 266 Bytes

Versions: 14

Compression:

Stored size: 266 Bytes

Contents

require 'spec_helper'

describe Berkshelf::APIClient do
  describe "::new" do
    it "returns an instance of Berkshelf::APIClient::Connection" do
      expect(described_class.new("http://localhost:26210")).to be_a(Berkshelf::APIClient::Connection)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
berkshelf-api-client-4.0.1 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-4.0.0 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-3.0.0 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-2.0.2 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-2.0.1 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.3.1 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-2.0.0 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.3.0 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.2.1 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.2.0 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.2.0.rc2 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.2.0.rc1 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.1.1 spec/unit/berkshelf/api_client_spec.rb
berkshelf-api-client-1.1.0 spec/unit/berkshelf/api_client_spec.rb