summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/journals_controller.rb1
-rw-r--r--test/fixtures/journal_details.yml7
-rw-r--r--test/functional/journals_controller_test.rb3
3 files changed, 10 insertions, 1 deletions
diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb
index 37e52ca53..9eed2eaca 100644
--- a/app/controllers/journals_controller.rb
+++ b/app/controllers/journals_controller.rb
@@ -24,6 +24,7 @@ class JournalsController < ApplicationController
menu_item :issues
helper :issues
+ helper :custom_fields
helper :queries
include QueriesHelper
helper :sort
diff --git a/test/fixtures/journal_details.yml b/test/fixtures/journal_details.yml
index 5b2c651b2..8077d7cde 100644
--- a/test/fixtures/journal_details.yml
+++ b/test/fixtures/journal_details.yml
@@ -27,3 +27,10 @@ journal_details_004:
value: "This word was and an other was added"
prop_key: description
journal_id: 3
+journal_details_005:
+ old_value: Old value
+ property: cf
+ id: 5
+ value: New value
+ prop_key: 2
+ journal_id: 3
diff --git a/test/functional/journals_controller_test.rb b/test/functional/journals_controller_test.rb
index 2060e9c7a..fa29744e1 100644
--- a/test/functional/journals_controller_test.rb
+++ b/test/functional/journals_controller_test.rb
@@ -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, :journal_details, :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