]> source.dussan.org Git - redmine.git/commitdiff
Rails3: replace "all" fixtures at test/functional/files_controller_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 25 Sep 2011 06:13:23 +0000 (06:13 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 25 Sep 2011 06:13:23 +0000 (06:13 +0000)
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@7522 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/files_controller_test.rb

index 2e35863ba26418982988034f3e485cdcf5cabf6c..cf558c36d2b017256c9aea5be4dac1828a881e8f 100644 (file)
@@ -1,7 +1,18 @@
 require File.expand_path('../../test_helper', __FILE__)
 
 class FilesControllerTest < ActionController::TestCase
-  fixtures :all
+  fixtures :projects, :trackers, :issue_statuses, :issues,
+           :enumerations, :users, :issue_categories,
+           :projects_trackers,
+           :roles,
+           :member_roles,
+           :members,
+           :enabled_modules,
+           :workflows,
+           :journals, :journal_details,
+           :issues, :issue_statuses, :issue_categories,
+           :attachments,
+           :versions
 
   def setup
     @controller = FilesController.new