Sha256: 5e8cd26aa41d94dd0a70bbc38f7e65e23fe1b727d27d903595ee586d0a5be4b0
Contents?: true
Size: 504 Bytes
Versions: 15
Compression:
Stored size: 504 Bytes
Contents
require 'spec_helper' require 'ronin/support/inflector' describe "Ronin::Support::Inflector" do subject { Ronin::Support::Inflector } it "should not be nil" do subject.should_not be_nil end it "should support pluralizing words" do subject.pluralize('word').should == 'words' end it "should support singularizing words" do subject.singularize('words').should == 'word' end it "should support humanizing words" do subject.humanize('word_id').should == 'Word' end end
Version data entries
15 entries across 15 versions & 1 rubygems