summaryrefslogtreecommitdiffstats
path: root/test/unit/enabled_module_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/enabled_module_test.rb')
-rw-r--r--test/unit/enabled_module_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/enabled_module_test.rb b/test/unit/enabled_module_test.rb
index b4c7acebc..918d53e48 100644
--- a/test/unit/enabled_module_test.rb
+++ b/test/unit/enabled_module_test.rb
@@ -22,7 +22,7 @@ class EnabledModuleTest < ActiveSupport::TestCase
def test_enabling_wiki_should_create_a_wiki
CustomField.delete_all
- project = Project.create!(:name => 'Project with wiki', :identifier => 'wikiproject')
+ project = Project.create!(:name => 'Project with wiki', :identifier => 'wikiproject', :enabled_module_names => [])
assert_nil project.wiki
project.enabled_module_names = ['wiki']
project.reload