diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index 77a50cff..19bceda6 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -160,8 +160,8 @@ jobs: litmus http://localhost:3000/dmsf/webdav/dmsf_test_project admin admin kill `cat tmp/pids/server.pid` bundle exec rake redmine:dmsf_webdav_test_off - env: - TESTS: "basic copymove props" + #env: + # TESTS: "basic copymove props" - name: Cleanup # Rollback plugin's changes to the database # Stop the database engine diff --git a/lib/redmine_dmsf/webdav/base_resource.rb b/lib/redmine_dmsf/webdav/base_resource.rb index 4ec91cfb..63ab20da 100644 --- a/lib/redmine_dmsf/webdav/base_resource.rb +++ b/lib/redmine_dmsf/webdav/base_resource.rb @@ -30,16 +30,14 @@ module RedmineDmsf attr_reader :public_path - unless const_defined?(DIR_FILE) - DIR_FILE = %( - - %s - %s - %s - %s - - ) - end + DIR_FILE = %( + + %s + %s + %s + %s + + ) def initialize(path, request, response, options) raise NotFound if Setting.plugin_redmine_dmsf['dmsf_webdav'].blank?