mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-11 07:55:55 +01:00
(refs #115)Fix typo
This commit is contained in:
@@ -10,7 +10,7 @@ class GitCommandFactorySpec extends Specification with Mockito {
|
|||||||
val factory = new GitCommandFactory(mock[ServletContext])
|
val factory = new GitCommandFactory(mock[ServletContext])
|
||||||
|
|
||||||
"createCommand" should {
|
"createCommand" should {
|
||||||
"returns GitRecievePack when command is git-receive-pack" in {
|
"returns GitReceivePack when command is git-receive-pack" in {
|
||||||
factory.createCommand("git-receive-pack '/owner/repo.git'").isInstanceOf[GitReceivePack] must beTrue
|
factory.createCommand("git-receive-pack '/owner/repo.git'").isInstanceOf[GitReceivePack] must beTrue
|
||||||
factory.createCommand("git-receive-pack '/owner/repo.wiki.git'").isInstanceOf[GitReceivePack] must beTrue
|
factory.createCommand("git-receive-pack '/owner/repo.wiki.git'").isInstanceOf[GitReceivePack] must beTrue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user