Rails3: replace "all" fixtures at test/functional/previews_controller_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@7520 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-25 06:12:10 +00:00
parent cf8135e451
commit bea3f11468
1 changed files with 10 additions and 1 deletions

View File

@ -18,7 +18,16 @@
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../test_helper', __FILE__)
class PreviewsControllerTest < ActionController::TestCase class PreviewsControllerTest < 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
def test_preview_new_issue def test_preview_new_issue
@request.session[:user_id] = 2 @request.session[:user_id] = 2