Sha256: 93d104b25d11f5864dd37973fbbd94ca7d7ce760a997dc88bac0a95f35934757
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require 'russian_inflect' class RussianInflect def self.each_case(&block) CASES.each_with_index &block end def test_each_case(*answers) puts '' RussianInflect.each_case do |c, index| result = to_case(c) puts %{RussianInflect.inflect("#{source}", :#{c}) # #{result}} result.should == answers[index] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
russian_inflect-1.0.2 | spec/spec_helper.rb |
russian_inflect-1.0.1 | spec/spec_helper.rb |
russian_inflect-1.0.0 | spec/spec_helper.rb |