Mercurial > hg > soundsoftware-site
annotate plugins/redmine_bibliography/test/test_helper.rb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | b4b72f1eb644 |
children | 987e71e73116 |
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 |