public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
bugfix - log wasn't outputting it's layout
timcharper (author)
Tue Apr 01 13:36:32 -0700 2008
commit  dedee0149b14316b0b25a4f7ef06bbb7965fb033
tree    9a07b1077de106fcbe269caf0e03a52e87e79de9
parent  7eddd9102acc67ee854c88cf74666b2a5c97e384
...
28
29
30
31
 
32
33
34
...
28
29
30
 
31
32
33
34
0
@@ -28,7 +28,7 @@ class LogController < ApplicationController
0
   end
0
   
0
   def log
0
- log_params = params.delete_if { |key,value| [:controller, :action, :layout].include?(key) }
0
+ log_params = params.reject { |key,value| [:controller, :action, :layout].include?(key) }
0
     @path = params[:path]
0
     @log_entries = git.log(log_params)
0
     @branch ||= Git.new.branch.current_name
...
20
21
22
 
 
 
23
24
25
26
27
...
20
21
22
23
24
25
26
 
27
28
29
0
@@ -20,8 +20,10 @@ describe LogController do
0
       # puts Git.commands_ran.inspect
0
     end
0
     
0
+ it "should include render with a layout" do
0
+ @output.should include("<html>")
0
+ end
0
     it "should show a log" do
0
- # puts htmlize(@output)
0
       @output.should include("<strong>198fc930</strong>")
0
     end
0
   end

Comments

    No one has commented yet.