diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-10 10:50:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-10 10:50:06 +0000 |
commit | d66dc72d690d5bf7597a79c05659d0c58b2b2d06 (patch) | |
tree | 962a64a1fca8e4fb15f3d58f8d6b5ad24c54e163 /test/functional/attachments_controller_test.rb | |
parent | 4d4f330b0c7430224dcb298824db8830fb1f838c (diff) | |
download | redmine-d66dc72d690d5bf7597a79c05659d0c58b2b2d06.tar.gz redmine-d66dc72d690d5bf7597a79c05659d0c58b2b2d06.zip |
Rename a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16653 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 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 |