Mercurial > hg > soundsoftware-site
comparison plugins/redmine_bibliography/test/test_helper.rb @ 1339:c03a6c3c4db9 luisf
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 20 Jun 2013 14:34:42 +0100 |
parents | b4b72f1eb644 |
children | 987e71e73116 |
comparison
equal
deleted
inserted
replaced
1079:413d1d9c3efa | 1339:c03a6c3c4db9 |
---|---|
1 # Load the normal Rails helper | |
2 require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') | |
3 require 'publications_controller' | |
4 | |
5 # Ensure that we are using the temporary fixture path | |
6 Engines::Testing.set_fixture_path | |
7 | |
8 class BibliographyControllerTest < ActionController::TestCase | |
9 fixtures :all | |
10 | |
11 def setup | |
12 end | |
13 | |
14 def test_publication | |
15 | |
16 end | |
17 | |
18 | |
19 def test_routing | |
20 assert_routing( | |
21 {:method => :get, :path => '/requirements'}, | |
22 :controller => 'requirements', :action => 'index' | |
23 ) | |
24 end |