Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make sure it pass with env without compass installed

  • Loading branch information...
commit f6444e620a891eb508e7e225982ec5b72508c764 1 parent 0a69166
Mickael Daniel mklabs authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  cli/test/test-build.js
3  cli/test/test-build.js
@@ -190,6 +190,7 @@ describe('yeoman init && yeoman build', function() {
190 190 assert.ok(this.body.indexOf(file) !== -1);
191 191 });
192 192 it('styles/main.css', function() {
  193 + if( !this.compass ) { return; }
193 194 var file = path.basename(grunt.file.expandFiles('temp/styles/*.main.css')[0]);
194 195 assert.ok(this.body.indexOf(file) !== -1);
195 196 });
@@ -205,6 +206,8 @@ describe('yeoman init && yeoman build', function() {
205 206 assert.ok(/scripts\/[a-z0-9]+\.amd-app\.js/.test(manifest));
206 207 assert.ok(/scripts\/[a-z0-9]+\.plugins\.js/.test(manifest));
207 208 assert.ok(/scripts\/vendor\/[a-z0-9]+\.modernizr\.min\.js/.test(manifest));
  209 +
  210 + if( !this.compass ) { return; }
208 211 assert.ok(/styles\/[a-z0-9]+\.main\.css/.test(manifest));
209 212 });
210 213 });

0 comments on commit f6444e6

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