summaryrefslogtreecommitdiffstats
path: root/test/unit/group_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 04:53:04 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 04:53:04 +0000
commiteb1d9289e886550de0dfe156c00876e147869c08 (patch)
tree38ab29635e63d4c7391c6f8e87706be7bf87de66 /test/unit/group_test.rb
parente92f202b500ae61e5acef0db23d7702a285b00c4 (diff)
downloadredmine-eb1d9289e886550de0dfe156c00876e147869c08.tar.gz
redmine-eb1d9289e886550de0dfe156c00876e147869c08.zip
Rails3: replace "all" fixtures at test/unit/group_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@7511 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/group_test.rb')
-rw-r--r--test/unit/group_test.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb
index 45124ec84..8ce032dfa 100644
--- a/test/unit/group_test.rb
+++ b/test/unit/group_test.rb
@@ -18,7 +18,15 @@
require File.expand_path('../../test_helper', __FILE__)
class GroupTest < 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
def test_create
g = Group.new(:lastname => 'New group')