diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-30 15:10:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-30 15:10:56 +0000 |
commit | d22029083c486bb4d67bee26cf496f642491890c (patch) | |
tree | d2453eba4852f71e847e0a1529a8e42bf08106d0 /test/integration/api_test/api_test.rb | |
parent | 78e6717ba70f4b5e24012bc29d3e12c0e38adf04 (diff) | |
download | redmine-d22029083c486bb4d67bee26cf496f642491890c.tar.gz redmine-d22029083c486bb4d67bee26cf496f642491890c.zip |
Pull up #setup and #teardown in API tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/api_test.rb')
-rw-r--r-- | test/integration/api_test/api_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/integration/api_test/api_test.rb b/test/integration/api_test/api_test.rb index ab70533fa..56f8f8d4e 100644 --- a/test/integration/api_test/api_test.rb +++ b/test/integration/api_test/api_test.rb @@ -20,10 +20,6 @@ require File.expand_path('../../../test_helper', __FILE__) class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base fixtures :users - def setup - Setting.rest_api_enabled = '1' - end - def test_api_should_work_with_protect_from_forgery ActionController::Base.allow_forgery_protection = true assert_difference('User.count') do |