rmillr/moonmoji — pull request #4 by matiassingers (2014-10-20 10:27:23+00:00)
Title: Add proper testing

Remove old testing function, it wasn't really testing anything.

Added initial simple tests using Mocha.

```sh
# using mocha directly
$ mocha

# npm test script
$ npm test
```

```sh
moonmoji
no date object argument
✓ should return the moon for today
date object argument
✓ should return correct for waxing crescent
✓ should return correct for waxing gibbous
✓ should return correct for waning crescent

4 passing (10ms)
```
----
You should add moonmoji to [Travis-CI](https://travis-ci.org/) after, and add the badge to the `README`.