Sha256: cc6daf793cc7f6e4c01187203ee5d5c93415695d305918be941de086563a7b1e
Contents?: true
Size: 336 Bytes
Versions: 4
Compression:
Stored size: 336 Bytes
Contents
require File.dirname(__FILE__) + '/../../../helper' require 'test/unit' require 'jinx/helpers/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
4 entries across 4 versions & 1 rubygems