omit single quotes from slug

This commit is contained in:
Sam
2013-06-03 09:08:34 +10:00
parent 1833c124d9
commit da22c0f359
2 changed files with 6 additions and 4 deletions

View File

@ -51,5 +51,9 @@ describe Slug do
Slug.for('電車男 2').should be_blank
end
it "doesn't keep single quotes within word" do
Slug.for("Jeff hate's this").should == "jeff-hates-this"
end
end