Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure it pass with env without compass installed

  • Loading branch information...
commit f6444e620a891eb508e7e225982ec5b72508c764 1 parent 0a69166
@mklabs mklabs authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  cli/test/test-build.js
View
3  cli/test/test-build.js
@@ -190,6 +190,7 @@ describe('yeoman init && yeoman build', function() {
assert.ok(this.body.indexOf(file) !== -1);
});
it('styles/main.css', function() {
+ if( !this.compass ) { return; }
var file = path.basename(grunt.file.expandFiles('temp/styles/*.main.css')[0]);
assert.ok(this.body.indexOf(file) !== -1);
});
@@ -205,6 +206,8 @@ describe('yeoman init && yeoman build', function() {
assert.ok(/scripts\/[a-z0-9]+\.amd-app\.js/.test(manifest));
assert.ok(/scripts\/[a-z0-9]+\.plugins\.js/.test(manifest));
assert.ok(/scripts\/vendor\/[a-z0-9]+\.modernizr\.min\.js/.test(manifest));
+
+ if( !this.compass ) { return; }
assert.ok(/styles\/[a-z0-9]+\.main\.css/.test(manifest));
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.