diff test/functional/repositories_subversion_controller_test.rb @ 210:0579821a129a

Update to Redmine trunk rev 4802
author Chris Cannam
date Tue, 08 Feb 2011 13:51:46 +0000
parents 07fa8a8b56a8
children 051f544170fe
line wrap: on
line diff
--- a/test/functional/repositories_subversion_controller_test.rb	Wed Jan 19 15:04:22 2011 +0000
+++ b/test/functional/repositories_subversion_controller_test.rb	Tue Feb 08 13:51:46 2011 +0000
@@ -228,6 +228,13 @@
       assert_response :success
       assert_template 'annotate'
     end
+
+    def test_annotate_at_given_revision
+      get :annotate, :id => 1, :rev => 8, :path => ['subversion_test', 'helloworld.c']
+      assert_response :success
+      assert_template 'annotate'
+      assert_tag :tag => 'h2', :content => /@ 8/
+    end
   else
     puts "Subversion test repository NOT FOUND. Skipping functional tests !!!"
     def test_fake; assert true end