Sha256: e3f6189be5dfe590fc72ca92a5c69ecad1a4f4cd4ff4d9710f0323ecc672da8f

Contents?: true

Size: 640 Bytes

Versions: 24

Compression:

Stored size: 640 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

module ConstructorCore
  describe 'String' do
    describe '#accusative' do
      it 'should convert word to accusative' do
        'проверка'.accusative.should == 'проверку'
        'стол'.accusative.should == 'стол'
        'категория'.accusative.should == 'категорию'
      end

      it 'should convert two words to accusative' do
        'главная страница'.accusative.should == 'главную страницу'
        'страница главная'.accusative.should == 'страницу главную'
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
constructor-core-1.0.0beta2 spec/lib/constructor_core/string_spec.rb
constructor-core-1.0.0beta1 spec/lib/constructor_core/string_spec.rb
constructor-core-0.9.1 spec/lib/constructor_core/string_spec.rb
constructor-core-0.9.0 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.19 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.18 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.17 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.16 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.15 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.14 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.13 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.12 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.11 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.10 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.8 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.7 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.6 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.5 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.4 spec/lib/constructor_core/string_spec.rb
constructor-core-0.8.3 spec/lib/constructor_core/string_spec.rb