summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/wiki_controller_test.rb')
-rw-r--r--test/functional/wiki_controller_test.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/functional/wiki_controller_test.rb b/test/functional/wiki_controller_test.rb
index ebebf343d..5e1b19034 100644
--- a/test/functional/wiki_controller_test.rb
+++ b/test/functional/wiki_controller_test.rb
@@ -320,12 +320,14 @@ class WikiControllerTest < ActionController::TestCase
:id => 'Another_page',
:content => {
:comments => 'a' * 300, # failure here, comment is too long
- :text => 'edited',
- :version => 1
+ :text => 'edited'
+ },
+ :wiki_page => {
+ :parent_id => ""
}
- end
end
end
+ end
assert_response :success
assert_template 'edit'