Sha256: ec18d1122ff619e54f3f58529a415d332dccd60557a40832f154cb622ff7505e

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

# frozen_string_literal: true

require_relative '../../spec_helper' # Use the RSpec framework
require_relative '../../../lib/zenlish/wclasses/verb' # Load the class under test

module Zenlish
  module WClasses
    describe Verb do
      subject { Verb.new }

      context 'Initialization:' do
        it 'should be initialized without argument' do
          expect { Verb.new }.not_to raise_error
        end
      end # context

      context 'Provided services:' do
        it 'should know that it it is variable (has inflected forms)' do
          expect(subject).not_to be_invariable
        end
      end # context
    end # describe
  end # module
end # module

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zenlish-0.2.00 spec/zenlish/wclasses/verb_spec.rb