From d66dc72d690d5bf7597a79c05659d0c58b2b2d06 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 10 Jun 2017 10:50:06 +0000 Subject: [PATCH] Rename a few tests. git-svn-id: http://svn.redmine.org/redmine/trunk@16653 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/attachments_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index 1e8f368f4..b3cfda2cd 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -85,7 +85,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest set_tmp_attachments_directory end - def test_save_diff_type + def test_show_should_save_diff_type_as_user_preference user1 = User.find(1) user1.pref[:diff_type] = nil user1.preference.save @@ -222,7 +222,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest assert_select 'img.filecontent', :src => attachments(:attachments_010).filename end - def test_show_other + def test_show_other_with_no_preview @request.session[:user_id] = 2 get :show, :params => { :id => 6 -- 2.39.5