Skip to content

Commit

Permalink
test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dodo committed Oct 9, 2014
1 parent 9ca9fd7 commit fa44ca0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/slug.test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ describe 'slug', ->
[slug "w/ <3 && sugar || ☠"].should.eql ['with-love-and-sugar-or-skull-and-bones']

it 'should be flavourable', ->
remove = /[.'"]/g
text = "It's your journey ... we guide you through."
expected = "Its-your-journey-we-guide-you-through"
[slug(text, {remove})].should.eql [expected]
[slug(text, mode:'pretty')].should.eql [expected]

0 comments on commit fa44ca0

Please sign in to comment.