mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 03:54:47 +08:00
slug should replace underscores
This commit is contained in:
@ -39,5 +39,9 @@ describe Slug do
|
||||
Slug.for(from).should == to
|
||||
end
|
||||
|
||||
it 'replaces underscores' do
|
||||
Slug.for("o_o_o").should == "o-o-o"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user