Sha256: 22254b65fa8d73dcf5de4756353d91404e5524d276a3add1575b0a88b5ebafc9
Contents?: true
Size: 619 Bytes
Versions: 6
Compression:
Stored size: 619 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Gritano::Command do it 'should interpret git-receive-pack' do access, git_command, repo = Gritano::Command.eval("git-receive-pack 'teste.git'") access.to_s.should be == "write" git_command.should be == "git-receive-pack" repo.to_s.should be == "teste.git" end it 'should interpret git-upload-pack' do access, git_command, repo = Gritano::Command.eval("git-upload-pack 'teste.git'") access.to_s.should be == "read" git_command.should be == "git-upload-pack" repo.to_s.should be == "teste.git" end end
Version data entries
6 entries across 6 versions & 1 rubygems