Class

I18nSimpleBackendPluralizeTest

Inheritance
< Test::Unit::TestCase
Included Modules
I18nSimpleBackendTestSetup

Methods

Instance

Visibility Signature
public test_interpolate_given_incomplete_pluralization_data_raises_invalid_pluralization_data ()
public test_pluralize_given_0_returns_plural_string_if_no_zero_key_given ()
public test_pluralize_given_0_returns_zero_string_if_zero_key_given ()
public test_pluralize_given_1_returns_singular_string ()
public test_pluralize_given_2_returns_plural_string ()
public test_pluralize_given_3_returns_plural_string ()
public test_pluralize_given_nil_returns_the_given_entry ()

Instance Method Detail

test_interpolate_given_incomplete_pluralization_data_raises_invalid_pluralization_data()

test_pluralize_given_0_returns_plural_string_if_no_zero_key_given()

test_pluralize_given_0_returns_zero_string_if_zero_key_given()

test_pluralize_given_1_returns_singular_string()

test_pluralize_given_2_returns_plural_string()

test_pluralize_given_3_returns_plural_string()

test_pluralize_given_nil_returns_the_given_entry()