To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / plugins / redmine_bibliography / test / test_helper.rb @ 1430:04cc33a44d4c
History | View | Annotate | Download (629 Bytes)
| 1 | 1368:987e71e73116 | luis | ENV['RAILS_ENV'] ||= 'test' |
|---|---|---|---|
| 2 | |||
| 3 | 298:a41158bde9e0 | luis | # Load the normal Rails helper
|
| 4 | 1368:987e71e73116 | luis | require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') |
| 5 | require File.expand_path(File.dirname(__FILE__) + '/../app/controllers/publications_controller') |
||
| 6 | 298:a41158bde9e0 | luis | |
| 7 | 1369:40e64d14e691 | luis | class BibliographyControllerTest < ActionController::TestCase |
| 8 | self.fixture_path = File.dirname(__FILE__) + "/fixtures/" |
||
| 9 | 424:b601a9e472f3 | luis | |
| 10 | 1369:40e64d14e691 | luis | fixtures :authors
|
| 11 | 424:b601a9e472f3 | luis | |
| 12 | def setup |
||
| 13 | 1369:40e64d14e691 | luis | |
| 14 | 424:b601a9e472f3 | luis | end
|
| 15 | |||
| 16 | 1371:a8d468e143f7 | luis | def test_truth |
| 17 | assert true
|
||
| 18 | 425:4ecbc22579e2 | luis | end
|
| 19 | |||
| 20 | 1369:40e64d14e691 | luis | # def test_routing
|
| 21 | # assert_routing(
|
||
| 22 | # {:method => :get, :path => '/requirements'},
|
||
| 23 | # :controller => 'requirements', :action => 'index'
|
||
| 24 | # )
|
||
| 25 | # end
|
||
| 26 | 1368:987e71e73116 | luis | |
| 27 | end |