# HG changeset patch # User luisf # Date 1377103868 -3600 # Node ID 40e64d14e6915211e5ae07aae4c3f194e7ecfade # Parent 987e71e731160c0fac876f47d0f9119d9756b7a0 Correctly loading fixtures. diff -r 987e71e73116 -r 40e64d14e691 plugins/redmine_bibliography/test/test_helper.rb --- a/plugins/redmine_bibliography/test/test_helper.rb Tue Aug 20 18:00:06 2013 +0100 +++ b/plugins/redmine_bibliography/test/test_helper.rb Wed Aug 21 17:51:08 2013 +0100 @@ -4,24 +4,24 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper') require File.expand_path(File.dirname(__FILE__) + '/../app/controllers/publications_controller') -# Ensure that we are using the temporary fixture path -# Engines::Testing.set_fixture_path +class BibliographyControllerTest < ActionController::TestCase + self.fixture_path = File.dirname(__FILE__) + "/fixtures/" -class BibliographyControllerTest < ActionController::TestCase - # fixtures :all + fixtures :authors def setup + end def test_publication assert 1 == 0 end - def test_routing - assert_routing( - {:method => :get, :path => '/requirements'}, - :controller => 'requirements', :action => 'index' - ) - end + # def test_routing + # assert_routing( + # {:method => :get, :path => '/requirements'}, + # :controller => 'requirements', :action => 'index' + # ) + # end end