public
Description: Ruby library: adds String#titleize to properly capitalize titles
Homepage: http://rubyforge.org/projects/titleize/
Clone URL: git://github.com/granth/titlecase.git
include modules explicitly to satisfy rspec 1.1.4
granth (author)
Tue May 27 04:52:18 -0700 2008
commit  411bc66df19d4bb5012bc1110cc70ea521369721
tree    cf9a239fa2a645219ad9719bb046b3fefab471bb
parent  367dd819528d3aa871aa1f64ae87be46216582df
...
7
8
9
 
 
10
11
12
...
152
153
154
 
 
155
156
157
...
7
8
9
10
11
12
13
14
...
154
155
156
157
158
159
160
161
0
@@ -7,6 +7,8 @@ require File.dirname(__FILE__) + "/../spec_helper.rb"
0
 SMALL_WORDS = %w{a an and as at but by en for if in of on or the to v v. via vs vs.}
0
 
0
 describe Titleize do
0
+ include Titleize
0
+
0
   describe "phrases" do
0
     it "should return an array" do
0
       phrases("a little sentence").should be_an_instance_of(Array)
0
@@ -152,6 +154,8 @@ describe Titleize do
0
 end
0
 
0
 describe Inflector do
0
+ include Inflector
0
+
0
   describe "titleize" do
0
     before(:each) do
0
       @title = "active_record and ActiveResource"

Comments

    No one has commented yet.