Sha256: 97fc5cce6418f9f9b00e0db1748cf55ce18553003136debb6751a6a54c21749c
Contents?: true
Size: 407 Bytes
Versions: 11
Compression:
Stored size: 407 Bytes
Contents
require File.dirname(__FILE__) + '/helper' require 'pp' class TestFileIndex < Test::Unit::TestCase def setup @r = Grit::Repo.new(File.join(File.dirname(__FILE__), *%w[dot_git]), :is_bare => true) @tag = 'f0055fda16c18fd8b27986dbf038c735b82198d7' end def test_raw_tag tag = @r.git.ruby_git.get_object_by_sha1(@tag) assert_match Regexp.new('v0.7.0'), tag.raw_content end end
Version data entries
11 entries across 11 versions & 5 rubygems