[refs #438] Fix symlink stubbing
This commit is contained in:
parent
314506cc76
commit
9920802006
|
@ -45,5 +45,5 @@ end
|
|||
require 'stub_xml_rpc'
|
||||
|
||||
Rails.application.config.to_prepare {
|
||||
Platform.send :include, Modules::Models::RsyncStub
|
||||
Platform.send :include, Modules::Models::SymlinkStub
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- encoding : utf-8 -*-
|
||||
module Modules
|
||||
module Models
|
||||
module RsyncStub
|
||||
module SymlinkStub
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
|
@ -9,11 +9,11 @@ module Modules
|
|||
true
|
||||
end
|
||||
|
||||
def mount_directory_for_rsync
|
||||
def symlink_directory
|
||||
true
|
||||
end
|
||||
|
||||
def umount_directory_for_rsync
|
||||
def remove_symlink_directory
|
||||
true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue