summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_bazaar_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_bazaar_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_bazaar_controller_test.rb')
-rw-r--r--test/functional/repositories_bazaar_controller_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/repositories_bazaar_controller_test.rb b/test/functional/repositories_bazaar_controller_test.rb
index 5a473bab3..acb6c1d21 100644
--- a/test/functional/repositories_bazaar_controller_test.rb
+++ b/test/functional/repositories_bazaar_controller_test.rb
@@ -99,6 +99,14 @@ class RepositoriesBazaarControllerTest < Test::Unit::TestCase
assert @response.body.include?('Show help message')
end
+ def test_directory_entry
+ get :entry, :id => 3, :path => ['directory']
+ assert_response :success
+ assert_template 'browse'
+ assert_not_nil assigns(:entry)
+ assert_equal 'directory', assigns(:entry).name
+ end
+
def test_diff
# Full diff of changeset 3
get :diff, :id => 3, :rev => 3