summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_subversion_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-08-17 16:32:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-08-17 16:32:24 +0000
commite10577e9ed482433ad1d80b321b89e8cc72f4c1c (patch)
tree9e9b8a9200f449d4cc3edd9b1df4a3826d8ef1e7 /test/functional/repositories_subversion_controller_test.rb
parenta4d7a03b142889510c910cfb983a818f61653c11 (diff)
downloadredmine-e10577e9ed482433ad1d80b321b89e8cc72f4c1c.tar.gz
redmine-e10577e9ed482433ad1d80b321b89e8cc72f4c1c.zip
SCM:
* Fixes file log for non-Git repositories (Repository#latest_changesets ignores path argument) * No longer used Repository#changesets_for_path method removed git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2844 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_subversion_controller_test.rb')
-rw-r--r--test/functional/repositories_subversion_controller_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb
index ac1438572..8e4affade 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -79,6 +79,11 @@ class RepositoriesSubversionControllerTest < Test::Unit::TestCase
get :changes, :id => 1, :path => ['subversion_test', 'folder', 'helloworld.rb' ]
assert_response :success
assert_template 'changes'
+
+ changesets = assigns(:changesets)
+ assert_not_nil changesets
+ assert_equal %w(6 3 2), changesets.collect(&:revision)
+
# svn properties displayed with svn >= 1.5 only
if Redmine::Scm::Adapters::SubversionAdapter.client_version_above?([1, 5, 0])
assert_not_nil assigns(:properties)