Corrected a copy/paste bug in tests, and corresponding problems in rollback.rhtml

This commit is contained in:
Alexey Verkhovsky 2005-02-19 14:38:10 +00:00
parent 1fa143f5d4
commit beeed3eee6
3 changed files with 14 additions and 7 deletions

View file

@ -337,7 +337,7 @@ class WikiControllerTest < Test::Unit::TestCase
def test_rollback
# rollback shows a form where a revision can be edited.
# its assigns the same as or revision
r = process 'revision', 'web' => 'wiki1', 'id' => 'HomePage', 'rev' => '0'
r = process 'rollback', 'web' => 'wiki1', 'id' => 'HomePage', 'rev' => '0'
assert_success
assert_equal @home, r.template_objects['page']