IneffablePigeon/Localisr — pull request #14 by lavelle (2012-09-22 22:31:19+00:00)
Title: added some unit tests

Just a few basic ones for times, prices, and utilities.

I left the Jasmine example ones in there commented out as a reference for the API.

Currently I'm just using dummy data for testing conversions, ideally it would use the real API data to make sure any edge cases are also tested, but it's more complicated to implement, and unit tests are supposed to be fast so if we're waiting on a network then those should probably be in a secondary test suite.