annotate lib/generators/redmine_plugin_controller/templates/functional_test.rb.erb @ 1080:5bd8c86cfa6a issue_540

Makes the Publication model act as an activity; overloading the default ActivitiesController#index view in the Bibliography Plugin in order to differentiate Publications from the other event types. * Known issues: ** route to /activities is not working (only to /activity); ** publication cache needs to be implemented in the model, not in the helper; ** when a publication is added to n projects, n events are created (all with the same content).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 22 Nov 2012 16:51:23 +0000
parents 513646585e45
children 433d4f72a19b
rev   line source
Chris@0 1 require File.dirname(__FILE__) + '/../test_helper'
Chris@0 2
Chris@0 3 class <%= class_name %>ControllerTest < ActionController::TestCase
Chris@0 4 # Replace this with your real tests.
Chris@0 5 def test_truth
Chris@0 6 assert true
Chris@0 7 end
Chris@0 8 end