alphagov/smokey — pull request #9 by daibach (2012-10-06 17:08:35+00:00)
Title: Add tests for frontend location tools

This adds tests for our location tools such as /locator.json

I noticed while writing other tests that we don't seem to be checking these things are working. If /locator.json doesn't work, local transactions, licences and find my nearest all stop working too. This could be bad.

I'm not sure if this is the right way of going about doing these tests, so I've put them into this separate pull request for now. Happy to do them differently if anyone has any suggestions.

I've also tagged them as 'normal' priority, but I'm tempted to suggest they should probably be 'high'.

Tests that:
- /locator.json returns details about a provided postcode
- find my nearest returns place information when given location