Revision 1369:40e64d14e691 plugins/redmine_bibliography

View differences:

plugins/redmine_bibliography/test/test_helper.rb
4 4
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')
5 5
require File.expand_path(File.dirname(__FILE__) + '/../app/controllers/publications_controller')
6 6

  
7
# Ensure that we are using the temporary fixture path
8
# Engines::Testing.set_fixture_path
7
class BibliographyControllerTest < ActionController::TestCase
8
  self.fixture_path = File.dirname(__FILE__) + "/fixtures/"
9 9

  
10
class BibliographyControllerTest < ActionController::TestCase
11
  # fixtures :all
10
  fixtures :authors
12 11

  
13 12
  def setup
13

  
14 14
  end
15 15

  
16 16
  def test_publication
17 17
    assert 1 == 0
18 18
  end
19 19

  
20
  def test_routing
21
    assert_routing(
22
          {:method => :get, :path => '/requirements'},
23
          :controller => 'requirements', :action => 'index'
24
        )
25
  end
20
  # def test_routing
21
  #   assert_routing(
22
  #         {:method => :get, :path => '/requirements'},
23
  #         :controller => 'requirements', :action => 'index'
24
  #       )
25
  # end
26 26

  
27 27
end

Also available in: Unified diff