mirror of
https://github.com/redmine/redmine.git
synced 2025-11-06 13:25:44 +01:00
Pull up #setup and #teardown in API tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -22,10 +22,6 @@ class Redmine::ApiTest::WikiPagesTest < Redmine::ApiTest::Base
|
||||
:enabled_modules, :wikis, :wiki_pages, :wiki_contents,
|
||||
:wiki_content_versions, :attachments
|
||||
|
||||
def setup
|
||||
Setting.rest_api_enabled = '1'
|
||||
end
|
||||
|
||||
test "GET /projects/:project_id/wiki/index.xml should return wiki pages" do
|
||||
get '/projects/ecookbook/wiki/index.xml'
|
||||
assert_response 200
|
||||
|
||||
Reference in New Issue
Block a user