Commit graph

11 commits

Author SHA1 Message Date
Shaun McDonald
e932a69bd7 Additional api tests for the changes. Also making sure that you cannot request a change of 0 length, so that you can detect erronious input. 2008-11-03 18:05:19 +00:00
Shaun McDonald
9705105681 Starting the gpx trace testing with additional fixtures 2008-10-30 18:50:45 +00:00
Shaun McDonald
427becc1db Moving all the functional tests to the Rails 2 way, which uses less code by having an additional sub-class to take care of the duplicate code in every test. There is a bug in rails 2.0.2, which means that super doesn't get called in the setup method in the functional tests. This is fixed in Rails 2.1.2, thus a version bump should really be done. 2008-10-28 12:27:10 +00:00
Shaun McDonald
b45dd63283 cover the other extreme in the map bounary sanitizeation. Ading some documentation, which is parsed when running rake doc:app. Fixing up a couple of tests. 2008-10-26 23:43:37 +00:00
Shaun McDonald
e13b35e0cb making it clearer when a test case fails, as to which test case it is that is failing. Adding some more bboxes for testing. 2008-10-21 14:28:52 +00:00
Matt Amos
417ded9da5 Added min_lat > max_lat test. 2008-10-21 14:00:08 +00:00
Matt Amos
a8eb3a6ada Removed debugging code. 2008-10-21 09:31:36 +00:00
Shaun McDonald
138c20322d Adding some api tests for both the map and trackpoints requests. Needs some better bboxes. Adding new changeset controller fnctional tests. 2008-10-20 15:05:12 +00:00
Shaun McDonald
3e9ceb0c38 more testing of the api. Changing the generator so that it is a constant to come in line with the server url and the api version. Adding tracepoints per page to the capabilities api call. Better error message for api call. 2008-10-19 07:09:04 +00:00
Shaun McDonald
3d5ee2675b Now just got one test to sort on the functional tests. All other tests are working and pass. Plenty more to write though. 2008-07-22 14:06:53 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00