Set up slug.rb for obvious method extractions.

This commit is contained in:
Dan Neumann
2013-02-11 20:36:54 -06:00
parent 9daf53df73
commit 50cf8cd4d5
2 changed files with 10 additions and 8 deletions

View File

@ -1,12 +1,10 @@
# encoding: utf-8
require 'spec_helper'
require 'slug'
describe Slug do
it 'replaces spaces with hyphens' do
Slug.for("hello world").should == 'hello-world'
end