To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / vendor / plugins / redmine_bibliography / test / test_helper.rb @ 723:d41bf754c0f2
History | View | Annotate | Download (542 Bytes)
| 1 | 298:a41158bde9e0 | luis | # Load the normal Rails helper
|
|---|---|---|---|
| 2 | require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') |
||
| 3 | 424:b601a9e472f3 | luis | require 'publications_controller'
|
| 4 | 298:a41158bde9e0 | luis | |
| 5 | # Ensure that we are using the temporary fixture path
|
||
| 6 | Engines::Testing.set_fixture_path |
||
| 7 | 424:b601a9e472f3 | luis | |
| 8 | 425:4ecbc22579e2 | luis | class BibliographyControllerTest < ActionController::TestCase |
| 9 | fixtures :all
|
||
| 10 | 424:b601a9e472f3 | luis | |
| 11 | def setup |
||
| 12 | end
|
||
| 13 | |||
| 14 | 425:4ecbc22579e2 | luis | def test_publication |
| 15 | |||
| 16 | end
|
||
| 17 | |||
| 18 | |||
| 19 | 424:b601a9e472f3 | luis | def test_routing |
| 20 | assert_routing( |
||
| 21 | 425:4ecbc22579e2 | luis | {:method => :get, :path => '/requirements'},
|
| 22 | :controller => 'requirements', :action => 'index' |
||
| 23 | 424:b601a9e472f3 | luis | ) |
| 24 | end |