diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-22 00:08:02 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-22 00:08:02 +0000 |
commit | 8a8162c74352c487e0dbfa813f3b97b38a80d0a4 (patch) | |
tree | 040cf76d33ff3bb2193636411fd5e95c5921162f /test/functional/attachments_controller_test.rb | |
parent | a1303598562942e4ff5efe8433630a39e5f7de55 (diff) | |
download | redmine-8a8162c74352c487e0dbfa813f3b97b38a80d0a4.tar.gz redmine-8a8162c74352c487e0dbfa813f3b97b38a80d0a4.zip |
attachment: add missing diff type at functional tests (#2371, #9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7885 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/attachments_controller_test.rb')
-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 bc34ac218..801114ca4 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -56,7 +56,7 @@ class AttachmentsControllerTest < ActionController::TestCase with_settings :repositories_encodings => 'UTF-8' do ['inline', 'sbs'].each do |dt| # 060719210727_changeset_iso8859-1.diff - get :show, :id => 5 + get :show, :id => 5, :type => dt assert_response :success assert_template 'diff' assert_equal 'text/html', @response.content_type @@ -74,7 +74,7 @@ class AttachmentsControllerTest < ActionController::TestCase with_settings :repositories_encodings => 'UTF-8,ISO-8859-1' do ['inline', 'sbs'].each do |dt| # 060719210727_changeset_iso8859-1.diff - get :show, :id => 5 + get :show, :id => 5, :type => dt assert_response :success assert_template 'diff' assert_equal 'text/html', @response.content_type |