remove old less require spec

This commit is contained in:
Justin Palmer
2013-03-05 15:23:21 -08:00
committed by Corey Johnson
parent 0624ba6d3f
commit 050c376e87

View File

@@ -1,19 +0,0 @@
{less} = require('less')
describe "require", ->
describe "files with a `.less` extension", ->
it "parses valid files into css", ->
output = require(project.resolve("sample.less"))
expect(output).toBe """
#header {
color: #4d926f;
}
h2 {
color: #4d926f;
}
"""
it "throws an error when parsing invalid file", ->
functionWithError = (-> require(project.resolve("sample-with-error.less")))
expect(functionWithError).toThrow()