summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/versions_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 00:16:11 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-25 00:16:11 +0000
commit2fef102a99ac1952ac37b675cdf994de89784b68 (patch)
tree3e55803c79f6f4f1926246669184566265f659d2 /test/integration/api_test/versions_test.rb
parenta66b50900586774d2575f67eb8b4b4d948ade55c (diff)
downloadredmine-2fef102a99ac1952ac37b675cdf994de89784b68.tar.gz
redmine-2fef102a99ac1952ac37b675cdf994de89784b68.zip
Rails3: replace "all" fixtures at test/integration/api_test/versions_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@7508 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/versions_test.rb')
-rw-r--r--test/integration/api_test/versions_test.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/integration/api_test/versions_test.rb b/test/integration/api_test/versions_test.rb
index 56f0d69e3..f325d2c25 100644
--- a/test/integration/api_test/versions_test.rb
+++ b/test/integration/api_test/versions_test.rb
@@ -18,7 +18,15 @@
require File.expand_path('../../../test_helper', __FILE__)
class ApiTest::VersionsTest < ActionController::IntegrationTest
- fixtures :all
+ fixtures :projects, :trackers, :issue_statuses, :issues,
+ :enumerations, :users, :issue_categories,
+ :projects_trackers,
+ :roles,
+ :member_roles,
+ :members,
+ :enabled_modules,
+ :workflows,
+ :versions
def setup
Setting.rest_api_enabled = '1'