#432: stub #create_empty_metadata
This commit is contained in:
parent
310eb0ec38
commit
ae4c8a868e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue