Rails3: replace "all" fixtures at test/unit/project_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@7505 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3f85c47003
commit
298405e9c8
|
@ -18,7 +18,18 @@
|
||||||
require File.expand_path('../../test_helper', __FILE__)
|
require File.expand_path('../../test_helper', __FILE__)
|
||||||
|
|
||||||
class ProjectTest < ActiveSupport::TestCase
|
class ProjectTest < ActiveSupport::TestCase
|
||||||
fixtures :all
|
fixtures :projects, :trackers, :issue_statuses, :issues,
|
||||||
|
:enumerations, :users, :issue_categories,
|
||||||
|
:projects_trackers,
|
||||||
|
:roles,
|
||||||
|
:member_roles,
|
||||||
|
:members,
|
||||||
|
:enabled_modules,
|
||||||
|
:workflows,
|
||||||
|
:versions,
|
||||||
|
:wikis, :wiki_pages, :wiki_contents, :wiki_content_versions,
|
||||||
|
:groups_users,
|
||||||
|
:boards
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@ecookbook = Project.find(1)
|
@ecookbook = Project.find(1)
|
||||||
|
|
Loading…
Reference in New Issue