summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-11-08 06:40:38 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-11-08 06:40:38 +0000
commit3815bb3bdc9bbf4fdcc78ea3a61dc3c4cf12abb6 (patch)
tree34828ab6ddb228dc75f234162a853332d876656a
parent2a5bc153443ca9b4fdeaf0efb9c84bfdbb76814b (diff)
downloadredmine-3815bb3bdc9bbf4fdcc78ea3a61dc3c4cf12abb6.tar.gz
redmine-3815bb3bdc9bbf4fdcc78ea3a61dc3c4cf12abb6.zip
add missing fixture to test/unit/enabled_module_test.rb
Test fails randomly. <pre> 1) Error: EnabledModuleTest#test_enabling_wiki_should_create_a_wiki: ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid test/unit/enabled_module_test.rb:25:in `test_enabling_wiki_should_create_a_wiki' </pre> It can be reproduced on clean db and following change. <pre> - fixtures :projects, :wikis + fixtures :projects, :trackers, :wikis </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13571 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 918d53e48..98c667d64 100644
--- a/test/unit/enabled_module_test.rb
+++ b/test/unit/enabled_module_test.rb
@@ -18,7 +18,7 @@
require File.expand_path('../../test_helper', __FILE__)
class EnabledModuleTest < ActiveSupport::TestCase
- fixtures :projects, :wikis
+ fixtures :projects, :trackers, :issue_statuses, :wikis
def test_enabling_wiki_should_create_a_wiki
CustomField.delete_all