public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/benstiglitz/gitnub.git
Caged (author)
Tue Mar 11 21:04:43 -0700 2008
commit  181772a37977a4f99e376321f2f338eb844e3390
tree    9e2cc4dffe8badc0602229ad67279adc6d679e73
parent  dcd1673bfedbe598ab98afd8ac2a393c83ff3827
gitnub / grit / test / helper.rb
100644 17 lines (12 sloc) 0.364 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require File.join(File.dirname(__FILE__), *%w[.. lib grit])
 
require 'rubygems'
require 'test/unit'
require 'mocha'
 
GRIT_REPO = File.join(File.dirname(__FILE__), *%w[..])
 
include Grit
 
def fixture(name)
  File.read(File.join(File.dirname(__FILE__), 'fixtures', name))
end
 
def absolute_project_path
  File.expand_path(File.join(File.dirname(__FILE__), '..'))
end