diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-06 16:45:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-06 16:45:06 +0000 |
commit | a628ba7e60624c961842856a00169510d10ef5e9 (patch) | |
tree | 5a5af204a62483f681fd299c3b3647f853eddcc2 /test/functional/repositories_git_controller_test.rb | |
parent | 5e18803613457f3a80b287081dfbb2f16f5a830b (diff) | |
download | redmine-a628ba7e60624c961842856a00169510d10ef5e9.tar.gz redmine-a628ba7e60624c961842856a00169510d10ef5e9.zip |
Don't display download button for dir entries (#26350).
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@16762 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_git_controller_test.rb')
-rw-r--r-- | test/functional/repositories_git_controller_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 29d1a5521..c7cd7bce2 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -277,6 +277,8 @@ class RepositoriesGitControllerTest < Redmine::ControllerTest assert_response :success assert_select 'h2 a', :text => 'sources' assert_select 'table.entries tbody' + assert_select 'div.contextual > a.icon-download', false + end def test_diff |