public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
these specs are obsolete
timcharper (author)
Fri Jun 13 14:20:40 -0700 2008
commit  0e663f9094997354197bc308909267d33a2d9f7f
tree    ca5275af5813633afde1b72cec432c924ff8670b
parent  40f7c1f14b02c99482bd0aef137315756b669469
...
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
...
6
7
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
10
11
0
@@ -6,35 +6,6 @@ describe SCM::Git do
0
     Git.reset_mock!
0
   end
0
   
0
- describe "when getting branches" do
0
- before(:each) do
0
- end
0
-
0
- it "should get the right prefix for an origin" do
0
- Git.command_output << "+refs/heads/*:refs/remotes/satellite/*"
0
- @git.branch.remote_branch_prefix("satellite").should == "satellite"
0
- end
0
-
0
- it "should retrieve all remote branches for a given origin" do
0
- Git.command_output << <<-EOF
0
- asdf
0
-* master
0
- mybranch
0
- satellite
0
- origin/master
0
- origin/mybranch
0
- satellite/asdf
0
- satellite/master
0
- satellite/mybranch
0
- satellite/satellite
0
- EOF
0
- Git.command_output << "+refs/heads/*:refs/remotes/satellite/*"
0
-
0
- branches = @git.branch.list(:remote, :remote => "satellite")
0
- branches.map{|r|r[:name]}.should == ["satellite/asdf", "satellite/master", "satellite/mybranch", "satellite/satellite"]
0
- end
0
- end
0
-
0
   it "should describe a revision, defaulting to use all refs" do
0
     Git.command_response["describe", "--all", "1234"] = "tag-1234\n"
0
     `ls` # set the exit status code to 0

Comments

    No one has commented yet.