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.5.pre2 spec/extra_core/inflector_spec.rb
volt-0.9.5.pre1 spec/extra_core/inflector_spec.rb
volt-0.9.4 spec/extra_core/inflector_spec.rb
volt-0.9.4.pre5 spec/extra_core/inflector_spec.rb
volt-0.9.4.pre3 spec/extra_core/inflector_spec.rb
volt-0.9.4.pre2 spec/extra_core/inflector_spec.rb
volt-0.9.4.pre1 spec/extra_core/inflector_spec.rb
volt-0.9.3 spec/extra_core/inflector_spec.rb
volt-0.9.3.pre6 spec/extra_core/inflector_spec.rb
volt-0.9.3.pre5 spec/extra_core/inflector_spec.rb
volt-0.9.3.pre4 spec/extra_core/inflector_spec.rb
volt-0.9.3.pre3 spec/extra_core/inflector_spec.rb
volt-0.9.3.pre2 spec/extra_core/inflector_spec.rb
volt-0.9.3.pre1 spec/extra_core/inflector_spec.rb
volt-0.9.2 spec/extra_core/inflector_spec.rb
volt-0.9.1 spec/extra_core/inflector_spec.rb
volt-0.9.1.pre5 spec/extra_core/inflector_spec.rb
volt-0.9.1.pre4 spec/extra_core/inflector_spec.rb
volt-0.9.1.pre3 spec/extra_core/inflector_spec.rb
volt-0.9.1.pre2 spec/extra_core/inflector_spec.rb