Rails3: replace "all" fixtures at test/integration/api_test/disabled_rest_api_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@7515 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
52027456de
commit
fa11b8babe
|
@ -1,7 +1,14 @@
|
|||
require File.expand_path('../../../test_helper', __FILE__)
|
||||
|
||||
class ApiTest::DisabledRestApiTest < ActionController::IntegrationTest
|
||||
fixtures :all
|
||||
fixtures :projects, :trackers, :issue_statuses, :issues,
|
||||
:enumerations, :users, :issue_categories,
|
||||
:projects_trackers,
|
||||
:roles,
|
||||
:member_roles,
|
||||
:members,
|
||||
:enabled_modules,
|
||||
:workflows
|
||||
|
||||
def setup
|
||||
Setting.rest_api_enabled = '0'
|
||||
|
|
Loading…
Reference in New Issue