Commit graph

11 commits

Author SHA1 Message Date
Matt Amos
d9e4e5836f Added tests for old_* redaction routes 2012-04-05 13:49:51 +01:00
Matt Amos
990f3eba40 Altered old_way stuff to be Railsy like old_node is now 2012-04-05 13:49:43 +01:00
Matt Amos
67182f824e Fixing review comments
Added scoping for unredacted items, cleaned up authorization and
railsified old_node_controller.
2012-04-05 13:46:40 +01:00
Matt Amos
67dd9e4c9d Adding first cut of Redactions support
Redactions support hiding historical versions of elements and
collecting meta-data about that action together.
2012-04-05 13:46:36 +01:00
Tom Hughes
90e46a58de Add routing tests for all supported routes 2012-03-09 19:49:44 +00:00
Shaun McDonald
0ad724bd92 Hopefully fix the old_node_controller tests. 2009-04-21 17:07:14 +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
89c677d881 Fixed fixtures and added new tests for ways and way_nodes. 2008-10-16 13:02:09 +00:00
Matt Amos
6a276202e5 Added more fixtures and tests for node versioning calls. 2008-10-15 11:12:26 +00:00
Matt Amos
45a9d94337 Cleaned up some unreachable code. Added first test on the 'old' node controller. 2008-10-14 16:40:17 +00:00