view plugins/redmine_bibliography/test/test_helper.rb @ 1369:40e64d14e691 bibliography_testing

Correctly loading fixtures.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 21 Aug 2013 17:51:08 +0100
parents 987e71e73116
children 0b169a5e3837
line wrap: on
line source
ENV['RAILS_ENV'] ||= 'test'

# Load the normal Rails helper
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')
require File.expand_path(File.dirname(__FILE__) + '/../app/controllers/publications_controller')

class BibliographyControllerTest < ActionController::TestCase
  self.fixture_path = File.dirname(__FILE__) + "/fixtures/"

  fixtures :authors

  def setup

  end

  def test_publication
    assert 1 == 0
  end

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

end