Unit tests fix fro Easy

This commit is contained in:
Karel Pičman 2020-01-20 12:40:53 +01:00
parent f464a1c554
commit a37f9e423c

View File

@ -34,7 +34,7 @@ class DmsfWebdavCustomMiddlewareTest < RedmineDmsf::Test::IntegrationTest
def test_options_for_root_path def test_options_for_root_path
process :options, '/' process :options, '/'
assert_response :success assert_response defined?(EasyExtensions) ? :method_not_allowed : :success
end end
def test_options_for_dmsf_root_path def test_options_for_dmsf_root_path
@ -44,7 +44,7 @@ class DmsfWebdavCustomMiddlewareTest < RedmineDmsf::Test::IntegrationTest
def test_propfind_for_root_path def test_propfind_for_root_path
process :propfind, '/' process :propfind, '/'
assert_response :not_found assert_response defined?(EasyExtensions) ? :method_not_allowed : :not_found
end end
def test_propfind_for_dmsf_root_path def test_propfind_for_dmsf_root_path