- added a MockGitBackend for tests
authorJohan Sørensen <johan@johansorensen.com>
Sun, 2 Dec 2007 20:34:01 +0000 (21:34 +0100)
committerJohan Sørensen <johan@johansorensen.com>
Sun, 2 Dec 2007 20:34:01 +0000 (21:34 +0100)
commit58f0b0de074ab029132736a21400245aaa1f8b30
tree3b1cedc7d614bfc78bbc599ae1a06d783dff8dbf
parent405470c01084673c256b890d1669d550cf1a0e51
- added a MockGitBackend for tests
- moved git initialization into GitBackend
app/controllers/repositories_controller.rb
app/models/repository.rb
lib/git_backend.rb [new file with mode: 0644]
lib/mock_git_backend.rb [new file with mode: 0644]
spec/controllers/repositories_controller_spec.rb
spec/models/git_backend_spec.rb [new file with mode: 0644]
spec/models/repository_spec.rb
spec/spec_helper.rb