Matt Amos
|
3e9b6845d3
|
Fixed 'raw' raises by converting them to the appropriate OSM::APIError type. Made the error messages for placeholder fixing more informative. Added tests for these.
|
2009-04-29 10:07:35 +00:00 |
|
Shaun McDonald
|
72a3947b1b
|
remove the dup methods from the test helper. Add tests for no content and checking that a record has been created.
|
2009-04-13 00:13:51 +00:00 |
|
Shaun McDonald
|
90ec90f13d
|
reverting last change, which included posgres config specific things
|
2009-04-13 00:10:37 +00:00 |
|
Shaun McDonald
|
2c52b06716
|
Remove duplication that is in the test helper. Adding tests for the passing of no content, and the wrong method used. Also ensuring that there has been a changeset added to the db when it is created.
|
2009-04-13 00:04:24 +00:00 |
|
Matt Amos
|
afcb345014
|
Moved a bunch of time functions into UTC. Fixes bugs which we only see for 4 hours a year.
|
2009-03-29 01:31:04 +00:00 |
|
Matt Amos
|
f492a1b709
|
Fixed unit tests and fixture loading for postgres. The foreign keys were playing havoc with the tests when only some fixtures were loaded.
|
2009-03-28 20:18:26 +00:00 |
|
Matt Amos
|
be75a1504f
|
Fixed a couple of bugs with changeset bounding box calculation when modifying or deleting.
|
2009-03-27 12:22:23 +00:00 |
|
Thomas Wood
|
d841d3d135
|
<td> tags must be closed, move browse index test over to changeset, lazy fix for new format
|
2009-03-23 21:35:06 +00:00 |
|
Matt Amos
|
5143fbcd5b
|
Test and fix for #1567, for teh betterer osmChange compliance.
|
2009-02-08 16:54:28 +00:00 |
|
Matt Amos
|
12b779f0b4
|
Test and fix for issue #1568. Wasn't testing for end element in the right place.
|
2009-02-08 16:33:48 +00:00 |
|
Matt Amos
|
c54471ee33
|
Fix for #1565. Added a couple of tests and fixed another issue with re-used placeholder IDs.
|
2009-02-08 08:28:01 +00:00 |
|
Matt Amos
|
76708eefcf
|
Fixed bug in changeset closing and querying where the number of elements exceeded the maximum. Added a fixture for this.
|
2009-02-07 17:45:27 +00:00 |
|
Shaun McDonald
|
e989b1a880
|
ensure that uploads that don't supply a lat and lon for a node. Adding related test and fixing other tests.
|
2008-12-01 18:32:54 +00:00 |
|
Matt Amos
|
89bd962ff0
|
Adding test to check that users can't update changesets that they don't own.
|
2008-11-26 15:03:50 +00:00 |
|
Shaun McDonald
|
a4e5e8437f
|
Renaming the include action to expand_bbox in the changeset controller.
|
2008-11-26 11:36:10 +00:00 |
|
Matt Amos
|
783528830a
|
Fixed bug in changeset idle timeout. Fixed another with a spurious require.
|
2008-11-21 12:53:09 +00:00 |
|
Matt Amos
|
a90be5e69a
|
Migration to add close-time to changesets. This replaces the boolean 'open' attribute. Added checks to ensure that the maximum lifetime and number of changes in a changeset are enforced. Added some tests.
|
2008-11-17 19:00:01 +00:00 |
|
Matt Amos
|
495bd7f1f0
|
Made user input parsing more robust in changeset query method. Added tests.
|
2008-11-17 15:30:46 +00:00 |
|
Shaun McDonald
|
5254f79c08
|
Verify that the key and value isn't getting mixed up by having them different. verify the error message is the same when returning the user conflict on closing changeset test.
|
2008-11-17 15:00:19 +00:00 |
|
Matt Amos
|
28839fd150
|
Fixed some bugs in changeset query code. Added more test cases.
|
2008-11-17 14:32:15 +00:00 |
|
Matt Amos
|
519d402cb2
|
Added tests for changeset close method.
|
2008-11-17 11:59:42 +00:00 |
|
Matt Amos
|
98b15bef45
|
Implemented changeset tags updating via the update method.
|
2008-11-17 11:45:50 +00:00 |
|
Shaun McDonald
|
b6c354b31b
|
fixing the tests due to a osm -> diffChange and moving to floats
|
2008-11-09 16:49:27 +00:00 |
|
Matt Amos
|
b875d14b7c
|
Added a query method for querying bounding boxes, times and users of changesets. Needs (much) more testing.
|
2008-11-07 18:24:34 +00:00 |
|
Matt Amos
|
383f204e64
|
Added a changeset/#id/include method to POST to to expand the bounding box.
|
2008-11-06 18:42:06 +00:00 |
|
Matt Amos
|
02fbcf5f06
|
Added first attempt at bounding box support in changesets and tests for the same.
|
2008-11-04 15:52:22 +00:00 |
|
Shaun McDonald
|
183ffc7864
|
Adding an extra test to make sure that the correct response is returned when an invalid changeset action is uploaded.
|
2008-11-03 18:54:19 +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
|
8a57904398
|
Implemented osmChange diff downloads for changesets and a couple of tests.
|
2008-10-27 17:50:28 +00:00 |
|
Matt Amos
|
dc2a959037
|
Added tests for changeset upload code. Refactored diff reading code and put it into /lib. Changed the route of a changeset upload to explicitly refer to the changeset it applies to (i.e: resource).
|
2008-10-23 15:14:17 +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 |
|