@@ -72,8 +72,8 @@ describe RepositoryForkWorker do
...
@@ -72,8 +72,8 @@ describe RepositoryForkWorker do
perform!
perform!
end
end
it"handles bad fork"do
it'handles bad fork'do
error_message="Unable to fork project #{forked_project.id} for repository #{project.disk_path} -> #{forked_project.disk_path}"
error_message="Unable to fork project #{forked_project.id} for repository #{project.disk_path} -> #{forked_project.disk_path}: Failed to create fork repository"
expect_fork_repository.and_return(false)
expect_fork_repository.and_return(false)
...
@@ -83,11 +83,22 @@ describe RepositoryForkWorker do
...
@@ -83,11 +83,22 @@ describe RepositoryForkWorker do
it'calls Projects::LfsPointers::LfsLinkService#execute with OIDs of source project LFS objects'do
it'calls Projects::LfsPointers::LfsLinkService#execute with OIDs of source project LFS objects'do
error_message="Unable to fork project #{forked_project.id} for repository #{project.disk_path} -> #{forked_project.disk_path}: Source project has too many LFS objects"