]> git.openstreetmap.org Git - rails.git/commit
Moving all the functional tests to the Rails 2 way, which uses less code by having...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 28 Oct 2008 12:27:10 +0000 (12:27 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 28 Oct 2008 12:27:10 +0000 (12:27 +0000)
commit427becc1db048c05576887e74b26c4118fa32d77
tree03414ebf396f893600758dfee9f6860f177e2e2d
parente18c33f733007e898786ee63c7f40a854b4772c6
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.
12 files changed:
test/functional/api_controller_test.rb
test/functional/browse_controller_test.rb
test/functional/changeset_controller_test.rb
test/functional/geocoder_controller_test.rb
test/functional/message_controller_test.rb
test/functional/node_controller_test.rb
test/functional/old_node_controller_test.rb
test/functional/old_relation_controller_test.rb
test/functional/old_way_controller_test.rb
test/functional/relation_controller_test.rb
test/functional/way_controller_test.rb
test/test_helper.rb