Add pure JS location spec for testing
Add sinon and adjust specs to pass
Remove done callback as it was unecessary
Add test for updating trip model
Add tests for trip objects being updated with triplocations
Add test for trip objects being updated with triplocations collection
Add slightly more intelligent error handling to ajaxError
Add beginnings of a test for the trip view
Use conditional on the event handler event object to allow testing to call it directly.
Add test for meters_to_miles
Update test to avoid using Model.dup
Merge branch 'js_test' into development
Add beginning of spec for new add_location_to_trip functionality
Fill out more of the specs for add_location_to_trip
Fix broken specs
Add remaining specs for add_location_to_trip
Begin implementing functionality for add_location_to_trip specs
Stub get_trip_id to pass trip ID spec
Add Views.Trip.add_triplocation to pass the spec
Set triplocation.position when adding to collection.