Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.489 kb
require 'spec_helper'
require 'dm-core/support/inflector/inflections'
describe DataMapper::Inflector do
it "should singularize 'status' correctly" do
DataMapper::Inflector.singularize('status').should == 'status'
DataMapper::Inflector.singularize('status').should_not == 'statu'
end
it "should singularize 'alias' correctly" do
DataMapper::Inflector.singularize('alias').should == 'alias'
DataMapper::Inflector.singularize('alias').should_not eq 'alia'
end
end
Jump to Line
Something went wrong with that request. Please try again.