Commit 42072bcf by Nathan Houle

Add warning when sass-spec directory is not present

parent 4fd66035
......@@ -11,9 +11,19 @@ describe('sass-spec', function() {
var sassSpecPath = path.join(__dirname, 'sass-spec'),
sassSpecDirExists = fs.existsSync(sassSpecPath);
describe('test directory', function() {
it('it should exist', function() {
describe('spec directory', function() {
it('should be a cloned into place', function() {
try {
assert.ok(sassSpecDirExists);
} catch (e) {
console.log([
'test/sass-spec directory missing. Please clone it into place by',
'executing `git submodule update --init --recursive test/sass-spec`',
'from the project\'s root directory.'
].join(' '));
throw e;
}
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment