view vendor/plugins/redmine_bibliography/test/test_helper.rb @ 556:ca9e8e562ea7 feature_36

Addresses Bug #177: when the publication is saved the authors are saved in the order they were entered. *Attention*: need to re-migrate (and re-seed) the plugin's database!
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 03 Aug 2011 15:41:19 +0100
parents 4ecbc22579e2
children
line wrap: on
line source
# Load the normal Rails helper
require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
require 'publications_controller'

# Ensure that we are using the temporary fixture path
Engines::Testing.set_fixture_path

class BibliographyControllerTest < ActionController::TestCase
  fixtures :all

  def setup
  end

  def test_publication
  
  end
  

  def test_routing
    assert_routing(
          {:method => :get, :path => '/requirements'},
          :controller => 'requirements', :action => 'index'
        )
  end