#432: stub #create_empty_metadata

This commit is contained in:
Vokhmin Alexey V 2014-10-01 00:13:36 +04:00
parent 310eb0ec38
commit ae4c8a868e
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,9 @@ end
def stub_symlink_methods def stub_symlink_methods
allow_any_instance_of(Platform).to receive(:symlink_directory).and_return(true) allow_any_instance_of(Platform).to receive(:symlink_directory).and_return(true)
allow_any_instance_of(Platform).to receive(:remove_symlink_directory).and_return(true) allow_any_instance_of(Platform).to receive(:remove_symlink_directory).and_return(true)
allow_any_instance_of(Platform).to receive(:create_empty_metadata).and_return(true)
allow_any_instance_of(Repository).to receive(:create_empty_metadata).and_return(true)
end end
Resque.inline = true Resque.inline = true