Port 784bbccf's custom value test back into aaj

This commit is contained in:
Eric Davis 2011-05-27 10:16:47 -07:00
parent f883758c95
commit 762cc04b70
2 changed files with 8 additions and 3 deletions

View File

@ -35,7 +35,11 @@ journals_003:
user_id: 2
notes: "A comment with inline image: !picture.jpg!"
journaled_id: 2
changes: "--- {}"
changes: |
---
custom_values_2:
- 'Old value'
- 'New value'
journals_004:
id: 4
type: "IssueJournal"
@ -214,4 +218,4 @@ journals_018:
user_id: 2
notes:
journaled_id: 11
changes: "--- {}"
changes: "--- {}"

View File

@ -22,7 +22,8 @@ require 'journals_controller'
class JournalsController; def rescue_action(e) raise e end; end
class JournalsControllerTest < ActionController::TestCase
fixtures :projects, :users, :members, :member_roles, :roles, :issues, :journals, :enabled_modules
fixtures :projects, :users, :members, :member_roles, :roles, :issues, :journals, :journal_details, :enabled_modules,
:trackers, :issue_statuses, :enumerations, :custom_fields, :custom_values, :custom_fields_projects
def setup
@controller = JournalsController.new