       filepath = path.join process.cwd(), 'foo/bar.js'
 
       stream.on 'end', ->
-        expect(print.log).to.have.been.calledWith "Hello #{colors.magenta path.relative process.cwd(), filepath}"
+        expect(print.log).to.have.been.calledWith "Hello #{gutil.colors.magenta path.relative process.cwd(), filepath}"
         done()
 
       stream.write new gutil.File path: filepath

      filepath = path.join process.cwd(), 'foo/bar.js'

      stream.on 'end', ->
        expect(print.log).to.have.been.calledWith colors.magenta path.relative process.cwd(), filepath
        done()

      stream.write new gutil.File path: filepath

chai = require 'chai'
sinon = require 'sinon'
gutil = require 'gulp-util'
# using compiled JavaScript file here to be sure module works
print = require '../lib/gulp-print.js'

