Merged r17761 from trunk to 3.4-stable (#32022).

git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@18433 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2019-09-05 07:00:36 +00:00
parent a14ff53ee5
commit bc4cc0a14a
63 changed files with 146 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ require File.expand_path('../../test_helper', __FILE__)
class EnabledModuleTest < ActiveSupport::TestCase
fixtures :projects, :trackers, :issue_statuses, :wikis
def setup
User.current = nil
end
def test_enabling_wiki_should_create_a_wiki
CustomField.delete_all
project = Project.create!(:name => 'Project with wiki', :identifier => 'wikiproject', :enabled_module_names => [])