diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 04:57:35 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-25 04:57:35 +0000 |
commit | c9bd3394d08fcd86b0a7e7812aee8cc11c1e0017 (patch) | |
tree | 0553325cca2883f4f185a7bc1aab9cd35486efa6 /test/integration/api_test | |
parent | 250d4db29dd8afc930b60ad4524c6066d045a68c (diff) | |
download | redmine-c9bd3394d08fcd86b0a7e7812aee8cc11c1e0017.tar.gz redmine-c9bd3394d08fcd86b0a7e7812aee8cc11c1e0017.zip |
Rails3: replace "all" fixtures at test/integration/api_test/http_basic_login_with_api_token_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@7517 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test')
-rw-r--r-- | test/integration/api_test/http_basic_login_with_api_token_test.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/integration/api_test/http_basic_login_with_api_token_test.rb b/test/integration/api_test/http_basic_login_with_api_token_test.rb index b8bed3e8f..3f00641e0 100644 --- a/test/integration/api_test/http_basic_login_with_api_token_test.rb +++ b/test/integration/api_test/http_basic_login_with_api_token_test.rb @@ -1,7 +1,14 @@ require File.expand_path('../../../test_helper', __FILE__) class ApiTest::HttpBasicLoginWithApiTokenTest < 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 = '1' |