diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-24 23:58:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-24 23:58:43 +0000 |
commit | a66b50900586774d2575f67eb8b4b4d948ade55c (patch) | |
tree | c8e5cd38abd9e98b34bf4145ae87e1b58cae97ef /test/integration/api_test/news_test.rb | |
parent | 45aaef455696d51cd649cf4efc1986a9f3020424 (diff) | |
download | redmine-a66b50900586774d2575f67eb8b4b4d948ade55c.tar.gz redmine-a66b50900586774d2575f67eb8b4b4d948ade55c.zip |
Rails3: replace "all" fixtures at test/integration/api_test/news_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@7507 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/news_test.rb')
-rw-r--r-- | test/integration/api_test/news_test.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/integration/api_test/news_test.rb b/test/integration/api_test/news_test.rb index b74990328..13b27917d 100644 --- a/test/integration/api_test/news_test.rb +++ b/test/integration/api_test/news_test.rb @@ -18,7 +18,15 @@ require File.expand_path('../../../test_helper', __FILE__) require 'pp' class ApiTest::NewsTest < ActionController::IntegrationTest - fixtures :all + fixtures :projects, :trackers, :issue_statuses, :issues, + :enumerations, :users, :issue_categories, + :projects_trackers, + :roles, + :member_roles, + :members, + :enabled_modules, + :workflows, + :news def setup Setting.rest_api_enabled = '1' |