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