Skip to content
Browse files

Merge branch 'master' into gh-pages

  • Loading branch information...
2 parents 7a76cba + d086233 commit d8fd9c34908c52cfd5220d1e71031fdd553fc9b4 @jacobrask committed Apr 5, 2012
Showing with 4 additions and 12 deletions.
  1. +1 −1 package.json
  2. +3 −11 test/paths.coffee
View
2 package.json
@@ -6,7 +6,7 @@
"css",
"documentation" ],
"author": "Jacob Rask <jacob@jacobrask.net>",
- "version": "0.3.1",
+ "version": "0.3.2",
"homepage": "http://jacobrask.github.com/styledocco/",
"licenses": [
{ "type": "MIT",
View
14 test/paths.coffee
@@ -1,15 +1,7 @@
-{ buildRootPath, makeDestination } = require '../src/utils'
-
-exports["Build root path"] = (test) ->
- test.equal buildRootPath('foo/bar/baz'), '../../'
- test.equal buildRootPath('foo/bar'), '../'
- test.equal buildRootPath('foo\\bar\\baz'), '../../'
- test.equal buildRootPath('foo'), './'
- test.equal buildRootPath(''), './'
- test.done()
+{ makeDestination } = require '../src/utils'
exports["Make destination"] = (test) ->
- test.equal makeDestination('foo/bar/baz.css'), 'foo_bar_baz.html'
- test.equal makeDestination('foo\\bar\\baz.css'), 'foo_bar_baz.html'
+ test.equal makeDestination('foo/bar/baz.css'), 'foo-bar-baz.html'
+ test.equal makeDestination('foo\\bar\\baz.css'), 'foo-bar-baz.html'
test.equal makeDestination('foo.css'), 'foo.html'
test.done()

0 comments on commit d8fd9c3

Please sign in to comment.
Something went wrong with that request. Please try again.