Sha256: e05c64ede491ed84b2426d67b63e7f504aadc854c2bfec42ea005a445c3d6ad4

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'
require 'compo'

describe Compo::HashBranch do
  describe '#initialize' do
    it 'initialises with no parent' do
      expect(subject.parent).to be_nil
    end

    it 'initialises with an ID function returning nil' do
      expect(subject.id).to be_nil
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compo-0.1.5 spec/hash_branch_spec.rb
compo-0.1.4 spec/hash_branch_spec.rb
compo-0.1.3 spec/hash_branch_spec.rb