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