diff test/functional/.svn/text-base/repositories_git_controller_test.rb.svn-base @ 210:0579821a129a

Update to Redmine trunk rev 4802
author Chris Cannam
date Tue, 08 Feb 2011 13:51:46 +0000
parents 07fa8a8b56a8
children cbce1fd3b1b7
line wrap: on
line diff
--- a/test/functional/.svn/text-base/repositories_git_controller_test.rb.svn-base	Wed Jan 19 15:04:22 2011 +0000
+++ b/test/functional/.svn/text-base/repositories_git_controller_test.rb.svn-base	Tue Feb 08 13:51:46 2011 +0000
@@ -170,6 +170,15 @@
                  :sibling => { :tag => 'td', :content => /watcher =/ }
     end
 
+    def test_annotate_at_given_revision
+      @repository.fetch_changesets
+      @repository.reload
+      get :annotate, :id => 3, :rev => 'deff7', :path => ['sources', 'watchers_controller.rb']
+      assert_response :success
+      assert_template 'annotate'
+      assert_tag :tag => 'h2', :content => /@ deff712f/
+    end
+
     def test_annotate_binary_file
       get :annotate, :id => 3, :path => ['images', 'edit.png']
       assert_response 500