hoodiehq/backbone-hoodie — pull request #10 by carltongibson (2014-03-31 18:42:43+00:00)
Title: Added simplest test case showing issue #9

NOT REALLY FOR MERGING

Here's a test case just showing the failing case for issue #9. (The code is straight from the README.)

It's Horrible™:

* All the scripts are hardcoded.
* It assumes you're running hoodie at localhost:6001.
* Almost certainly need to run it with CORS checks off.

`~ $ open /Applications/Google\ Chrome.app --args --disable-web-security`

However it does show the issue. Uncomment the `fetch()` call before the assertion and it'll pass.

Hopefully you'll find it helpful.