Corrected a copy/paste bug in tests, and corresponding problems in rollback.rhtml
This commit is contained in:
parent
1fa143f5d4
commit
beeed3eee6
3 changed files with 14 additions and 7 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue