summaryrefslogtreecommitdiffstats
path: root/test/unit/member_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 04:54:14 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 04:54:14 +0000
commit94a6068380889491a72f0ecb0f5d8ad3ee6d85fb (patch)
treefb69709dfffd98a7cd5ff9ac61ded8388dd71252 /test/unit/member_test.rb
parenteb1d9289e886550de0dfe156c00876e147869c08 (diff)
downloadredmine-94a6068380889491a72f0ecb0f5d8ad3ee6d85fb.tar.gz
redmine-94a6068380889491a72f0ecb0f5d8ad3ee6d85fb.zip
Rails3: replace "all" fixtures at test/unit/member_test.rb
Following error raises. Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7512 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/member_test.rb')
-rw-r--r--test/unit/member_test.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb
index 9b3da4f2b..9dd56159f 100644
--- a/test/unit/member_test.rb
+++ b/test/unit/member_test.rb
@@ -18,7 +18,21 @@
require File.expand_path('../../test_helper', __FILE__)
class MemberTest < ActiveSupport::TestCase
- fixtures :all
+ fixtures :projects, :trackers, :issue_statuses, :issues,
+ :enumerations, :users, :issue_categories,
+ :projects_trackers,
+ :roles,
+ :member_roles,
+ :members,
+ :enabled_modules,
+ :workflows,
+ :groups_users,
+ :watchers,
+ :journals, :journal_details,
+ :issues, :issue_statuses, :issue_categories,
+ :messages,
+ :wikis, :wiki_pages, :wiki_contents, :wiki_content_versions,
+ :boards
def setup
@jsmith = Member.find(1)