Sha256: 1cefafbca430a3b2fdc643710c4d492b397567e5b8c92fb8c7efa048da1066f1

Contents?: true

Size: 319 Bytes

Versions: 69

Compression:

Stored size: 319 Bytes

Contents

require 'spec_helper'
require 'volt/extra_core/inflector'

describe Volt::Inflector do
  it 'should pluralize correctly' do
    expect('car'.pluralize).to eq('cars')
    # expect('database'.pluralize).to eq('database')
  end

  it 'should singularize correctly' do
    expect('cars'.singularize).to eq('car')
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 spec/extra_core/inflector_spec.rb
volt-0.9.7.pre7 spec/extra_core/inflector_spec.rb
volt-0.9.7.pre6 spec/extra_core/inflector_spec.rb
volt-0.9.7.pre5 spec/extra_core/inflector_spec.rb
volt-0.9.7.pre3 spec/extra_core/inflector_spec.rb
volt-0.9.7.pre2 spec/extra_core/inflector_spec.rb
volt-0.9.6 spec/extra_core/inflector_spec.rb
volt-0.9.6.pre3 spec/extra_core/inflector_spec.rb
volt-0.9.6.pre2 spec/extra_core/inflector_spec.rb
volt-0.9.6.pre1 spec/extra_core/inflector_spec.rb
volt-0.9.5 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre12 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre11 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre9 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre8 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre7 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre6 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre5 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre4 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre3 spec/extra_core/inflector_spec.rb