Sha256: 55f177e4d351f35a56f445366736538356383632bb88353eb4f7149c0ee7ae01

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

require 'spec_helper'
require 'compo'

describe Compo::ArrayBranch 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/array_branch_spec.rb
compo-0.1.4 spec/array_branch_spec.rb
compo-0.1.3 spec/array_branch_spec.rb