Sha256: bace323ac2723cde82d7f07a2687044d5ca31740e7ef403eaba3e5a93533d9ef

Contents?: true

Size: 423 Bytes

Versions: 4

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true
require_relative "../spec_helper"
RSpec.describe "DIVISIONS" do
  let(:subject) do
    ToRussianWords::Divisions::NOMINATIVE_DIVISIONS
  end

  it { is_expected.to be_a Array }

  it "has 7 items" do
    expect(subject.length).to eq 7
  end

  it "has '' at index 0" do
    expect(subject[0]).to eq ""
  end

  it "is expected to be frozen" do
    expect(subject.frozen?).to be true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
to_russian_words-1.1.4 spec/to_russian_words/division_spec.rb
to_russian_words-1.1.3 spec/to_russian_words/division_spec.rb
to_russian_words-1.1.2 spec/to_russian_words/division_spec.rb
to_russian_words-1.1.1 spec/to_russian_words/division_spec.rb