Sha256: 28d2c3066a544b3a6d49edad3a7cbb6f45468e6d42d571958363c85f3b60cc93
Contents?: true
Size: 301 Bytes
Versions: 9
Compression:
Stored size: 301 Bytes
Contents
$:.unshift 'lib' require "test/unit" require 'caruby/util/inflector' class InflectorTest < Test::Unit::TestCase def test_quantified_s assert_equal("1 person", "person".quantify(1)) assert_equal("2 people", "person".quantify(2)) assert_equal("0 people", "person".quantify(0)) end end
Version data entries
9 entries across 9 versions & 1 rubygems