Mercurial > hg > soundsoftware-site
changeset 1368:987e71e73116 bibliography_testing
Setup of testing framework for the bibliography plugin.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 20 Aug 2013 18:00:06 +0100 |
parents | a2e51c0a7860 |
children | 40e64d14e691 |
files | plugins/redmine_bibliography/test/test_helper.rb plugins/redmine_bibliography/test/unit/authorship_test.rb |
diffstat | 2 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/redmine_bibliography/test/test_helper.rb Mon Aug 19 16:33:09 2013 +0100 +++ b/plugins/redmine_bibliography/test/test_helper.rb Tue Aug 20 18:00:06 2013 +0100 @@ -1,20 +1,21 @@ +ENV['RAILS_ENV'] ||= 'test' + # Load the normal Rails helper -require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') -require 'publications_controller' +require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') +require File.expand_path(File.dirname(__FILE__) + '/../app/controllers/publications_controller') # Ensure that we are using the temporary fixture path -Engines::Testing.set_fixture_path +# Engines::Testing.set_fixture_path class BibliographyControllerTest < ActionController::TestCase - fixtures :all + # fixtures :all def setup end def test_publication - + assert 1 == 0 end - def test_routing assert_routing( @@ -22,3 +23,5 @@ :controller => 'requirements', :action => 'index' ) end + +end