Mercurial > hg > soundsoftware-site
comparison test/functional/.svn/text-base/repositories_subversion_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 | 051f544170fe |
comparison
equal
deleted
inserted
replaced
128:07fa8a8b56a8 | 210:0579821a129a |
---|---|
226 def test_annotate | 226 def test_annotate |
227 get :annotate, :id => 1, :path => ['subversion_test', 'helloworld.c'] | 227 get :annotate, :id => 1, :path => ['subversion_test', 'helloworld.c'] |
228 assert_response :success | 228 assert_response :success |
229 assert_template 'annotate' | 229 assert_template 'annotate' |
230 end | 230 end |
231 | |
232 def test_annotate_at_given_revision | |
233 get :annotate, :id => 1, :rev => 8, :path => ['subversion_test', 'helloworld.c'] | |
234 assert_response :success | |
235 assert_template 'annotate' | |
236 assert_tag :tag => 'h2', :content => /@ 8/ | |
237 end | |
231 else | 238 else |
232 puts "Subversion test repository NOT FOUND. Skipping functional tests !!!" | 239 puts "Subversion test repository NOT FOUND. Skipping functional tests !!!" |
233 def test_fake; assert true end | 240 def test_fake; assert true end |
234 end | 241 end |
235 end | 242 end |