summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-03 20:21:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-12-03 20:21:03 +0000
commit5222650d952390d3435848397a46d8aa1dbda09e (patch)
tree6ef084faa30f3bba0d0d1e361247f86c1f4da21d /test/functional/wiki_controller_test.rb
parent1059f9a99ec41a8e320d4d66684e65d183270920 (diff)
downloadredmine-5222650d952390d3435848397a46d8aa1dbda09e.tar.gz
redmine-5222650d952390d3435848397a46d8aa1dbda09e.zip
Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
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'