Sha256: d57364c311da926b570ff93f61d6cbf5bc5ec859e79fd2ee25580f04e2e444de

Contents?: true

Size: 752 Bytes

Versions: 6

Compression:

Stored size: 752 Bytes

Contents

# frozen_string_literal: true

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

module Zenlish
  module Feature
    describe SymbolValue do
      let(:its_value) { :plural }
      subject { SymbolValue.new(its_value) }

      context 'Initialization:' do
        it 'should be initialized with a value argument' do
          expect { SymbolValue.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/symbol_value_spec.rb
zenlish-0.2.04 spec/zenlish/feature/symbol_value_spec.rb
zenlish-0.2.03 spec/zenlish/feature/symbol_value_spec.rb
zenlish-0.2.02 spec/zenlish/feature/symbol_value_spec.rb
zenlish-0.2.01 spec/zenlish/feature/symbol_value_spec.rb
zenlish-0.2.00 spec/zenlish/feature/symbol_value_spec.rb