Commit 53fcb0a8 authored by jplang's avatar jplang

Rename a few tests.

git-svn-id: https://svn.redmine.org/redmine/trunk@16653 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a64f8194
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment