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 @ 1370:0b169a5e3837

History | View | Annotate | Download (666 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 425:4ecbc22579e2 luis
  def test_publication
17 1370:0b169a5e3837 luis
    pub = Publication.first
18
19 1368:987e71e73116 luis
    assert 1 == 0
20 425:4ecbc22579e2 luis
  end
21
22 1369:40e64d14e691 luis
  # def test_routing
23
  #   assert_routing(
24
  #         {:method => :get, :path => '/requirements'},
25
  #         :controller => 'requirements', :action => 'index'
26
  #       )
27
  # end
28 1368:987e71e73116 luis
29
end