Sha256: 73aa7951d62e1fe3146d72362d2549eccd2af5bb1d4c16371923c75dcbfe4dd3

Contents?: true

Size: 669 Bytes

Versions: 7

Compression:

Stored size: 669 Bytes

Contents

# frozen_string_literal: true

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

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

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

      context 'Provided services:' do
        it 'should know that it is invariable' do
          expect(subject).to be_invariable
        end
      end # context
    end # describe
  end # module
end # module

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
zenlish-0.2.06 spec/zenlish/wclasses/preposition_spec.rb
zenlish-0.2.05 spec/zenlish/wclasses/preposition_spec.rb
zenlish-0.2.04 spec/zenlish/wclasses/preposition_spec.rb
zenlish-0.2.03 spec/zenlish/wclasses/preposition_spec.rb
zenlish-0.2.02 spec/zenlish/wclasses/preposition_spec.rb
zenlish-0.2.01 spec/zenlish/wclasses/preposition_spec.rb
zenlish-0.2.00 spec/zenlish/wclasses/preposition_spec.rb