summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_subversion_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-27 10:12:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-27 10:12:15 +0000
commita73f68a185df00db1aaa153f576f106ee752c54d (patch)
tree09fab2647035c64e944b7df68e78618eeb6966be /test/functional/repositories_subversion_controller_test.rb
parent6a3236daea38f0cf8b62ccf9f1212eb0f0395b08 (diff)
downloadredmine-a73f68a185df00db1aaa153f576f106ee752c54d.tar.gz
redmine-a73f68a185df00db1aaa153f576f106ee752c54d.zip
Fixed: Links to repository directories don't work (#1119).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1365 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_subversion_controller_test.rb')
-rw-r--r--test/functional/repositories_subversion_controller_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb
index adb69c8e9..dd56947fc 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -89,6 +89,14 @@ class RepositoriesSubversionControllerTest < Test::Unit::TestCase
assert_response :success
end
+ def test_directory_entry
+ get :entry, :id => 1, :path => ['subversion_test', 'folder']
+ assert_response :success
+ assert_template 'browse'
+ assert_not_nil assigns(:entry)
+ assert_equal 'folder', assigns(:entry).name
+ end
+
def test_diff
get :diff, :id => 1, :rev => 3
assert_response :success