Sha256: 91928b4ee7b3511fca2470c15c36a7c98720aab5d8370ee5d59fd4d461ba2427
Contents?: true
Size: 375 Bytes
Versions: 2
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Conjur::BaseObject do it "returns custom string for #inspect" do id_str = 'foo:bar:baz' base_obj = Conjur::BaseObject.new(Conjur::Id.new(id_str), { username: 'foo' }) expect(base_obj.inspect).to include("id='#{id_str}'") expect(base_obj.inspect).to include(Conjur::BaseObject.name) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
conjur-api-5.3.3 | spec/base_object_spec.rb |
conjur-api-5.3.2 | spec/base_object_spec.rb |