diff options
Diffstat (limited to 'test/integration/api_test/attachments_test.rb')
-rw-r--r-- | test/integration/api_test/attachments_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/api_test/attachments_test.rb b/test/integration/api_test/attachments_test.rb index 5a80f5cc7..bff956e80 100644 --- a/test/integration/api_test/attachments_test.rb +++ b/test/integration/api_test/attachments_test.rb @@ -28,11 +28,12 @@ class Redmine::ApiTest::AttachmentsTest < Redmine::ApiTest::Base :attachments def setup - Setting.rest_api_enabled = '1' + super set_fixtures_attachments_directory end def teardown + super set_tmp_attachments_directory end |