To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / plugins / redmine_bibliography / test / test_helper.rb @ 1368:987e71e73116

History | View | Annotate | Download (652 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
# Ensure that we are using the temporary fixture path
8 1368:987e71e73116 luis
# Engines::Testing.set_fixture_path
9 424:b601a9e472f3 luis
10 425:4ecbc22579e2 luis
class BibliographyControllerTest < ActionController::TestCase
11 1368:987e71e73116 luis
  # fixtures :all
12 424:b601a9e472f3 luis
13
  def setup
14
  end
15
16 425:4ecbc22579e2 luis
  def test_publication
17 1368:987e71e73116 luis
    assert 1 == 0
18 425:4ecbc22579e2 luis
  end
19
20 424:b601a9e472f3 luis
  def test_routing
21
    assert_routing(
22 425:4ecbc22579e2 luis
          {:method => :get, :path => '/requirements'},
23
          :controller => 'requirements', :action => 'index'
24 424:b601a9e472f3 luis
        )
25
  end
26 1368:987e71e73116 luis
27
end