Reorganise tests to match modern rails test layout
Added tests for old_* redaction routes
Altered old_way stuff to be Railsy like old_node is now
Copy the redaction code from nodes to ways
Add routing tests for all supported routes
Rename all ID columns that aren't unique Having a table with a column called ID that is only part of the primary key really doesn't work as rails likes to treat ID as a special name so it becomes impossible to assign to it or read it.
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.
Added tests for ways_for_node. Altered behaviour to not return deleted ways. Fixed ways fixture where most recent history != current.
More functional tests, this time for way_tags.
Fixed fixtures and added new tests for ways and way_nodes.
Now just got one test to sort on the functional tests. All other tests are working and pass. Plenty more to write though.
- add old_relation_controller and stuff so that relation history works. fixes #557. - minor testing fixes.