Revision 425:4ecbc22579e2 vendor/plugins/redmine_bibliography/test
| vendor/plugins/redmine_bibliography/test/test_helper.rb | ||
|---|---|---|
| 5 | 5 |
# Ensure that we are using the temporary fixture path |
| 6 | 6 |
Engines::Testing.set_fixture_path |
| 7 | 7 |
|
| 8 |
class PublicationsControllerTest < ActionController::TestCase
|
|
| 9 |
fixtures :publications, :authors, :bibtex_entries, :authorships
|
|
| 8 |
class BibliographyControllerTest < ActionController::TestCase
|
|
| 9 |
fixtures :all
|
|
| 10 | 10 |
|
| 11 | 11 |
def setup |
| 12 | 12 |
end |
| 13 | 13 |
|
| 14 |
def test_publication |
|
| 15 |
|
|
| 16 |
end |
|
| 17 |
|
|
| 18 |
|
|
| 14 | 19 |
def test_routing |
| 15 | 20 |
assert_routing( |
| 21 |
{:method => :get, :path => '/requirements'},
|
|
| 22 |
:controller => 'requirements', :action => 'index' |
|
| 16 | 23 |
) |
| 17 | 24 |
end |
Also available in: Unified diff