Rails3: replace "all" fixtures at test/functional/auto_completes_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@7488 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-24 07:07:01 +00:00
parent 6f6c519d0c
commit 7b82102e83
1 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,17 @@
require File.expand_path('../../test_helper', __FILE__) require File.expand_path('../../test_helper', __FILE__)
class AutoCompletesControllerTest < ActionController::TestCase class AutoCompletesControllerTest < ActionController::TestCase
fixtures :all fixtures :projects, :issues, :issue_statuses,
:enumerations, :users, :issue_categories,
:trackers,
:projects_trackers,
:roles,
:member_roles,
:members,
:auth_sources,
:enabled_modules,
:workflows,
:journals, :journal_details
def test_issues_should_not_be_case_sensitive def test_issues_should_not_be_case_sensitive
get :issues, :project_id => 'ecookbook', :q => 'ReCiPe' get :issues, :project_id => 'ecookbook', :q => 'ReCiPe'