annotate vendor/plugins/redmine_bibliography/test/test_helper.rb @ 947:be4106d14a35 bibplugin_bibtex

Parses a pasted bibtex entry and correctly adds its fields *except* the author names/institutions. Todo: Parse the author names/institutions and show the errors (flashing on the top of the page).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 18 Jul 2012 16:57:54 +0100
parents 4ecbc22579e2
children
rev   line source
luis@298 1 # Load the normal Rails helper
luis@298 2 require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
luis@424 3 require 'publications_controller'
luis@298 4
luis@298 5 # Ensure that we are using the temporary fixture path
luis@298 6 Engines::Testing.set_fixture_path
luis@424 7
luis@425 8 class BibliographyControllerTest < ActionController::TestCase
luis@425 9 fixtures :all
luis@424 10
luis@424 11 def setup
luis@424 12 end
luis@424 13
luis@425 14 def test_publication
luis@425 15
luis@425 16 end
luis@425 17
luis@425 18
luis@424 19 def test_routing
luis@424 20 assert_routing(
luis@425 21 {:method => :get, :path => '/requirements'},
luis@425 22 :controller => 'requirements', :action => 'index'
luis@424 23 )
luis@424 24 end