Sha256: 14b0185a428faaf096afb88a3e8ccf463b8e43f8c22b216e40a7c85d3a807575

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

require 'spec_helper'
require 'compo'

describe Compo::Leaf 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

4 entries across 4 versions & 1 rubygems

Version Path
compo-0.1.3 spec/leaf_spec.rb
compo-0.1.2 spec/leaf_spec.rb
compo-0.1.1 spec/leaf_spec.rb
compo-0.1.0 spec/leaf_spec.rb