mirror of
https://github.com/redmine/redmine.git
synced 2025-11-06 21:35:46 +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:
@@ -44,10 +44,6 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
|
||||
:queries,
|
||||
:attachments
|
||||
|
||||
def setup
|
||||
Setting.rest_api_enabled = '1'
|
||||
end
|
||||
|
||||
test "GET /issues.xml should contain metadata" do
|
||||
get '/issues.xml'
|
||||
assert_select 'issues[type=array][total_count=?][limit="25"][offset="0"]',
|
||||
|
||||
Reference in New Issue
Block a user