alphagov/spotlight — pull request #832 by roc (2014-10-28 15:13:19+00:00)
Title: Feature/load json fixtures

- Allows us to load in json fixtures using requirejs
- Uses `json` plugin from https://github.com/millermedeiros/requirejs-plugins to load in json
- This has a stupid syntax, but I think it's better than adding a huge object into our tests.

Usage:
``` js
var input = require('json!../spec/path/to/fixtures/myFixture.json');
```