Sha256: f50bc5e8a5f243b2d816eef8d8f7d9591045e872fff0ab5d2d26dfa22b39d767

Contents?: true

Size: 237 Bytes

Versions: 5

Compression:

Stored size: 237 Bytes

Contents

require_relative '../test_helper'

class StringTest < MiniTest::Test
  def test_pluralize
    assert_equal 'hour'.pluralize(1), 'hour'
    assert_equal 'hour'.pluralize(0), 'hours'
    assert_equal 'hour'.pluralize(2), 'hours'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
duck_puncher-2.3.0 test/duck_puncher/string_test.rb
duck_puncher-2.2.0 test/duck_puncher/string_test.rb
duck_puncher-2.1.0 test/duck_puncher/string_test.rb
duck_puncher-2.0.0 test/duck_puncher/string_test.rb
duck_puncher-1.0.0 test/duck_puncher/string_test.rb