mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
Traditional Chinese translation update (#39221).
Patch by ChunChang (Nagaharu) Lo. git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -35,13 +35,17 @@ class WikisControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
end
|
||||
|
||||
def test_post_destroy_should_delete_wiki
|
||||
def test_post_destroy_should_reinitialize_empty_wiki
|
||||
set_tmp_attachments_directory
|
||||
@request.session[:user_id] = 1
|
||||
wiki = Project.find(1).wiki
|
||||
post :destroy, :params => {:id => 1, :confirm => 1}
|
||||
assert_redirected_to :controller => 'projects',
|
||||
:action => 'show', :id => 'ecookbook'
|
||||
assert_nil Project.find(1).wiki
|
||||
|
||||
new_wiki = Project.find(1).wiki
|
||||
assert_not_equal wiki, new_wiki
|
||||
assert_equal "Wiki", new_wiki.start_page
|
||||
end
|
||||
|
||||
def test_not_found
|
||||
|
||||
Reference in New Issue
Block a user