bevry/query-engine — pull request #11 by DjebbZ (2012-05-10 12:21:13+00:00)
Title: Boolean value comparison

This the functionality for finding boolean value. I decided to add a boolean value for 2 data items, and no boolean value for the third. One of the two is set to `true`, the other is `false`. The test should find only the item with the truthy value. I said should because I couldn't have test executed in my machine. See the log below. I don't understand the error since I have backbone and underscore installed globally in my machine with npm.

``` shell
$ coffee test/queries.coffee
Error: Cannot find module 'underscore'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/Users/khalid_jebbari/Documents/Software_setup/Javascript/query-engine/lib/query-engine.coffee:7:73)
at Object. (/Users/khalid_jebbari/Documents/Software_setup/Javascript/query-engine/lib/query-engine.coffee:725:4)
at Module._compile (module.js:441:26)
at Object..coffee (/Users/khalid_jebbari/node/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:21:21)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
```

(As a side note, I never wrote test. So I mimicked your code, hoping it's ok)