summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/disabled_rest_api_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 04:56:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 04:56:27 +0000
commitfa11b8babe665fe007663f3d9b524b55987bfba7 (patch)
treedc3ec0fe318f0eb263b087968b9d98df70cf8068 /test/integration/api_test/disabled_rest_api_test.rb
parent52027456deebb3db97959e634b202a96b649e09b (diff)
downloadredmine-fa11b8babe665fe007663f3d9b524b55987bfba7.tar.gz
redmine-fa11b8babe665fe007663f3d9b524b55987bfba7.zip
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
Diffstat (limited to 'test/integration/api_test/disabled_rest_api_test.rb')
-rw-r--r--test/integration/api_test/disabled_rest_api_test.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/integration/api_test/disabled_rest_api_test.rb b/test/integration/api_test/disabled_rest_api_test.rb
index 9255435b8..798b7973c 100644
--- a/test/integration/api_test/disabled_rest_api_test.rb
+++ b/test/integration/api_test/disabled_rest_api_test.rb
@@ -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'