From: Toshi MARUYAMA Date: Fri, 23 Sep 2011 23:57:36 +0000 (+0000) Subject: Rails3: replace "all" fixtures at test/unit/helpers/projects_helper_test.rb X-Git-Tag: 1.3.0~492 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=12813cd6ab58332aa1fde4232e8ee3008f02e87d;p=redmine.git Rails3: replace "all" fixtures at test/unit/helpers/projects_helper_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@7483 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/helpers/projects_helper_test.rb b/test/unit/helpers/projects_helper_test.rb index b393fd1a3..dd94898ff 100644 --- a/test/unit/helpers/projects_helper_test.rb +++ b/test/unit/helpers/projects_helper_test.rb @@ -21,7 +21,15 @@ class ProjectsHelperTest < ActionView::TestCase include ApplicationHelper include ProjectsHelper - fixtures :all + fixtures :projects, :trackers, :issue_statuses, :issues, + :enumerations, :users, :issue_categories, + :versions, + :projects_trackers, + :member_roles, + :members, + :groups_users, + :enabled_modules, + :workflows def setup super