@@ -6,7 +6,7 api.wiki_page do | |||
|
6 | 6 | api.text @content.text |
|
7 | 7 | api.version @content.version |
|
8 | 8 | api.author(:id => @content.author_id, :name => @content.author.name) |
|
9 |
api.comments @ |
|
|
9 | api.comments @content.comments | |
|
10 | 10 | api.created_on @page.created_on |
|
11 | 11 | api.updated_on @content.updated_on |
|
12 | 12 |
@@ -90,6 +90,7 class Redmine::ApiTest::WikiPagesTest < Redmine::ApiTest::Base | |||
|
90 | 90 | assert_select 'version', :text => '2' |
|
91 | 91 | assert_select 'text' |
|
92 | 92 | assert_select 'author' |
|
93 | assert_select 'comments', :text => 'Small update' | |
|
93 | 94 | assert_select 'created_on' |
|
94 | 95 | assert_select 'updated_on' |
|
95 | 96 | end |
General Comments 0
You need to be logged in to leave comments.
Login now