Sha256: 4f0b932c0ab21fc623752bb00aaa572d21e806844de80d9fb365857cfa93d1a6

Contents?: true

Size: 705 Bytes

Versions: 6

Compression:

Stored size: 705 Bytes

Contents

# frozen_string_literal: true

# Load the class under test
require_relative '../../../lib/zenlish/feature/identifier_value' 

module Zenlish
  module Feature
    describe IdentifierValue do
      let(:its_value) { 'CommonForm' }
      subject { IdentifierValue.new(its_value) }

      context 'Initialization:' do
        it 'should be initialized with a value argument' do
          expect { IdentifierValue.new(its_value) }.not_to raise_error
        end
        
        it 'should know its internal value' do
          expect(subject.val).to eq(its_value)
        end        
      end # context

      context 'Provided services:' do
      end # context
    end # describe
  end # module
end # module

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zenlish-0.2.05 spec/zenlish/feature/identifier_value_spec.rb
zenlish-0.2.04 spec/zenlish/feature/identifier_value_spec.rb
zenlish-0.2.03 spec/zenlish/feature/identifier_value_spec.rb
zenlish-0.2.02 spec/zenlish/feature/identifier_value_spec.rb
zenlish-0.2.01 spec/zenlish/feature/identifier_value_spec.rb
zenlish-0.2.00 spec/zenlish/feature/identifier_value_spec.rb