Add direct path to mocha-phantomjs binary

$ grunt build
Works fine.

This source, as is, gives the following error when running
$ grunt
...
Running "exec:mocha" (exec) task

        Exited with code: 127.
        /bin/sh: 1: mocha-phantomjs: not found
        Warning: Task "exec:mocha" failed. Used --force, continuing.
        ...



AHA!

Found the issue.
Here is the only part of the 37coins/webui/Gruntfile.js file that issues a "command: " :

    // mocha command
    exec: {
        mocha: {
            command: 'mocha-phantomjs http://localhost:<%= connect.testserver.options.port %>/test',
            stdout: true
        }
    },

I tried running "mocha-phantomjs" in the terminal. Nothing. I am going to try a direct path to the binary.
webui/node_modules/mocha-phantomjs/bin/mocha-phantomjs

This will replace mocha-phantomjs.


See issue 98.