view plugins/redmine_bibliography/test/test_helper.rb @ 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 b4b72f1eb644
children 40e64d14e691
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')

# 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
    assert 1 == 0
  end

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

end