diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-17 09:51:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-17 09:51:19 +0000 |
commit | 580b591c57a0a70f7cf8a1dd34be85e0fcaa8b05 (patch) | |
tree | 77419f10ff7883b8d81cd186e2f419c46d3af908 /test | |
parent | 0a9b0dd46c917cacb6b04298c0d1aa3a0055a473 (diff) | |
download | redmine-580b591c57a0a70f7cf8a1dd34be85e0fcaa8b05.tar.gz redmine-580b591c57a0a70f7cf8a1dd34be85e0fcaa8b05.zip |
Add download link to no preview message (#26035).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16673 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/attachments_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index b3cfda2cd..5a55f0c81 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -207,7 +207,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest } assert_response :success assert_equal 'text/html', @response.content_type - assert_select '.nodata', :text => 'No preview available' + assert_select '.nodata', :text => 'No preview available. Download the file instead.' end set_tmp_attachments_directory end @@ -228,7 +228,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest :id => 6 } assert_equal 'text/html', @response.content_type - assert_select '.nodata', :text => 'No preview available' + assert_select '.nodata', :text => 'No preview available. Download the file instead.' set_tmp_attachments_directory end |