Sha256: c1e13cfe519be91549ec76ee84d8f802d3a5bc25bb43969c3238ebe50e084d26

Contents?: true

Size: 626 Bytes

Versions: 6

Compression:

Stored size: 626 Bytes

Contents

# frozen_string_literal: true

# Load the class under test
require_relative '../../../lib/zenlish/inflect/formal_argument'

module Zenlish
  module Inflect
    describe FormalArgument do
      subject { FormalArgument.new(3) }

      context 'Initialization:' do
        it 'should be initialized with a text literal' do
          expect { FormalArgument.new(1) }.not_to raise_error
        end
        
        it 'should know its index value' do
          expect(subject.index).to eq(3)
        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/inflect/formal_argument_spec.rb
zenlish-0.2.04 spec/zenlish/inflect/formal_argument_spec.rb
zenlish-0.2.03 spec/zenlish/inflect/formal_argument_spec.rb
zenlish-0.2.02 spec/zenlish/inflect/formal_argument_spec.rb
zenlish-0.2.01 spec/zenlish/inflect/formal_argument_spec.rb
zenlish-0.2.00 spec/zenlish/inflect/formal_argument_spec.rb