Revision 1368:987e71e73116 plugins/redmine_bibliography/test

View differences:

plugins/redmine_bibliography/test/test_helper.rb
1
ENV['RAILS_ENV'] ||= 'test'
2

  
1 3
# Load the normal Rails helper
2
require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper')
3
require 'publications_controller'
4
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')
5
require File.expand_path(File.dirname(__FILE__) + '/../app/controllers/publications_controller')
4 6

  
5 7
# Ensure that we are using the temporary fixture path
6
Engines::Testing.set_fixture_path
8
# Engines::Testing.set_fixture_path
7 9

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

  
11 13
  def setup
12 14
  end
13 15

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

  
19 20
  def test_routing
20 21
    assert_routing(
......
22 23
          :controller => 'requirements', :action => 'index'
23 24
        )
24 25
  end
26

  
27
end
plugins/redmine_bibliography/test/unit/authorship_test.rb
7 7
  def test_truth
8 8
    assert true
9 9
  end
10

  
11

  
12

  
10 13
end

Also available in: Unified diff