diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2014-08-15 09:57:00 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2014-08-15 09:57:00 +0000 |
commit | 772418461f0cba3d8d58065e635e8bc949bdf59d (patch) | |
tree | f549f6cc942b4289f3e267410c0c3c13a52ce80b /test/integration | |
parent | 2f6070bb2b9d3f0b04aa17072ce3e1dfac8d32fe (diff) | |
download | redmine-772418461f0cba3d8d58065e635e8bc949bdf59d.tar.gz redmine-772418461f0cba3d8d58065e635e8bc949bdf59d.zip |
Add project is_public to GET /projects/:id and /projects API response (#17628).
Contributed by Michael Esemplare <michael.esemplare@gmail.com>
git-svn-id: http://svn.redmine.org/redmine/trunk@13339 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/api_test/projects_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/api_test/projects_test.rb b/test/integration/api_test/projects_test.rb index 9f63e3328..efb41f03b 100644 --- a/test/integration/api_test/projects_test.rb +++ b/test/integration/api_test/projects_test.rb @@ -51,6 +51,7 @@ class Redmine::ApiTest::ProjectsTest < Redmine::ApiTest::Base assert_select 'projects>project>id', :text => '1' assert_select 'projects>project>status', :text => '1' + assert_select 'projects>project>is_public', :text => 'true' end test "GET /projects.json should return projects" do @@ -72,6 +73,7 @@ class Redmine::ApiTest::ProjectsTest < Redmine::ApiTest::Base assert_select 'project>id', :text => '1' assert_select 'project>status', :text => '1' + assert_select 'project>is_public', :text => 'true' assert_select 'custom_field[name=Development status]', :text => 'Stable' assert_no_tag 'trackers' |