File: api_client_spec.rb

package info (click to toggle)
ruby-berkshelf-api-client 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 176 kB
  • ctags: 31
  • sloc: ruby: 255; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
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