diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 06:12:10 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 06:12:10 +0000 |
commit | bea3f114680686c4bbb0549e4dbbbaab38d1d9aa (patch) | |
tree | bb9e3da7e7fd229dab71b094e029a513aba7bd2b /test/functional | |
parent | cf8135e451c5a4f6fec997362258b38e9a0819dc (diff) | |
download | redmine-bea3f114680686c4bbb0549e4dbbbaab38d1d9aa.tar.gz redmine-bea3f114680686c4bbb0549e4dbbbaab38d1d9aa.zip |
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
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/previews_controller_test.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/functional/previews_controller_test.rb b/test/functional/previews_controller_test.rb index 86dd8c0a8..7031a8e8e 100644 --- a/test/functional/previews_controller_test.rb +++ b/test/functional/previews_controller_test.rb @@ -18,7 +18,16 @@ require File.expand_path('../../test_helper', __FILE__) 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 @request.session[:user_id] = 2 |