(refs #115)Fix TestCase

This commit is contained in:
takezoe
2014-03-08 22:00:36 +09:00
parent 8fc1a5473b
commit 0cfe31ccd9

View File

@@ -1,12 +1,13 @@
package ssh
import org.specs2.mutable._
import org.specs2.mock.Mockito
import org.apache.sshd.server.command.UnknownCommand
import javax.servlet.ServletContext
class GitCommandFactorySpec extends Specification with Mockito {
class GitCommandFactorySpec extends Specification {
val factory = new GitCommandFactory
val factory = new GitCommandFactory(mock[ServletContext])
"createCommand" should {
"returns GitRecievePack when command is git-receive-pack" in {