summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-09 07:42:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-09 07:42:54 +0000
commit71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc (patch)
tree5d882c04a002f5456968adc86698c75028b18b9d /test/integration/api_test
parent2e1f80dcdede1fc58f93b58ea7b2256aacf6ec93 (diff)
downloadredmine-71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc.tar.gz
redmine-71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc.zip
Wiki Pages REST API with version returns wrong comments (#15235).
Patch by Yukinari TOYOTA. git-svn-id: http://svn.redmine.org/redmine/trunk@12245 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test')
-rw-r--r--test/integration/api_test/wiki_pages_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/api_test/wiki_pages_test.rb b/test/integration/api_test/wiki_pages_test.rb
index 02c764fa7..d299911a6 100644
--- a/test/integration/api_test/wiki_pages_test.rb
+++ b/test/integration/api_test/wiki_pages_test.rb
@@ -90,6 +90,7 @@ class Redmine::ApiTest::WikiPagesTest < Redmine::ApiTest::Base
assert_select 'version', :text => '2'
assert_select 'text'
assert_select 'author'
+ assert_select 'comments', :text => 'Small update'
assert_select 'created_on'
assert_select 'updated_on'
end