Commit graph

16 commits

Author SHA1 Message Date
Matt Amos
94cf6ece2d Made full test a bit more thorough. 2008-10-28 15:01:17 +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
Matt Amos
6339473cb7 Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed ways fixture where most recent history != current. 2008-10-21 10:52:52 +00:00
Matt Amos
654470b896 Altered a functional test on way_tags. 2008-10-17 11:21:40 +00:00
Matt Amos
df496b44cd More functional tests, this time for way_tags. 2008-10-17 11:06:58 +00:00
Matt Amos
44034cd781 Added some more functional tests for way and relation delete methods. 2008-10-14 14:34:17 +00:00
Matt Amos
b56f57ec43 Fixed up delete methods on nodes, ways and relations to return the new version number and added some more tests. 2008-10-14 14:27:12 +00:00
Matt Amos
3549d8900f All API 0.6 functional tests now pass. 2008-10-13 15:46:22 +00:00
Matt Amos
1e5782f579 Fixed up way controller tests for API 0.6. 2008-10-13 15:40:32 +00:00
Shaun McDonald
24b21e4a29 additional consistency checks. making the error message for the number of nodes use the configured number of nodes, rather than a hard coded number. minor improvements to the way controller functional tests. Not sure if they should be turned into integration tests. 2008-10-12 22:32:51 +00:00
Shaun McDonald
34bc4686cd Some comment about where to add code to get some more of the functional changesets working. 2008-10-10 07:58:33 +00:00
Shaun McDonald
796da2669d Starting to test the output of the xml to make sure that it is what we expect to be returned by teh api for ways tests. 2008-07-24 10:56:29 +00:00
Frederik Ramm
922a000b19 added tests for way and relation controllers 2007-09-13 11:06:33 +00:00
Frederik Ramm
6d07f5661a changed from nd id=... to nd ref=... 2007-08-31 22:33:27 +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
Frederik Ramm
efc4c6f85d added more tests 2007-07-26 22:05:51 +00:00