Sha256: 4878bff0bcdd0b1e7210328d02c3ce08d9a9979cab6b360fde2ad403b3a1c418

Contents?: true

Size: 439 Bytes

Versions: 28

Compression:

Stored size: 439 Bytes

Contents

require File.join(File.dirname(__FILE__), 'test_helper')

describe ApipieBindings::Inflector do

  it "should pluralize 'word'" do
    ApipieBindings::Inflector.pluralize('word').must_equal 'words'
  end

  it "should singularize 'words'" do
    ApipieBindings::Inflector.singularize('words').must_equal 'word'
  end

  it "should pluralize 'gpg_key'" do
    ApipieBindings::Inflector.pluralize('gpg_key').must_equal 'gpg_keys'
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
apipie-bindings-0.7.0 test/unit/inflector_test.rb
apipie-bindings-0.6.0 test/unit/inflector_test.rb
apipie-bindings-0.5.0 test/unit/inflector_test.rb
apipie-bindings-0.4.0 test/unit/inflector_test.rb
apipie-bindings-0.3.0 test/unit/inflector_test.rb
apipie-bindings-0.2.3 test/unit/inflector_test.rb
apipie-bindings-0.2.2 test/unit/inflector_test.rb
apipie-bindings-0.2.1 test/unit/inflector_test.rb
apipie-bindings-0.2.0 test/unit/inflector_test.rb
apipie-bindings-0.1.0 test/unit/inflector_test.rb
apipie-bindings-0.0.19 test/unit/inflector_test.rb
apipie-bindings-0.0.18 test/unit/inflector_test.rb
apipie-bindings-0.0.17 test/unit/inflector_test.rb
apipie-bindings-0.0.16 test/unit/inflector_test.rb
apipie-bindings-0.0.15 test/unit/inflector_test.rb
apipie-bindings-0.0.14 test/unit/inflector_test.rb
apipie-bindings-0.0.13 test/unit/inflector_test.rb
apipie-bindings-0.0.12 test/unit/inflector_test.rb
apipie-bindings-0.0.11 test/unit/inflector_test.rb
apipie-bindings-0.0.10 test/unit/inflector_test.rb