mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +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:
@@ -20,10 +20,6 @@ require File.expand_path('../../../test_helper', __FILE__)
|
||||
class Redmine::ApiTest::MembershipsTest < Redmine::ApiTest::Base
|
||||
fixtures :projects, :users, :roles, :members, :member_roles
|
||||
|
||||
def setup
|
||||
Setting.rest_api_enabled = '1'
|
||||
end
|
||||
|
||||
test "GET /projects/:project_id/memberships.xml should return memberships" do
|
||||
get '/projects/1/memberships.xml', {}, credentials('jsmith')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user