[refs #438] Fix symlink stubbing

This commit is contained in:
konstantin.grabar 2012-05-18 13:03:42 +04:00
parent 314506cc76
commit 9920802006
2 changed files with 4 additions and 4 deletions

View File

@ -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
}

View File

@ -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