Mercurial > hg > soundsoftware-site
diff test/functional/repositories_cvs_controller_test.rb @ 119:8661b858af72
* Update to Redmine trunk rev 4705
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:12:06 +0000 |
parents | 94944d00e43c |
children | 0579821a129a |
line wrap: on
line diff
--- a/test/functional/repositories_cvs_controller_test.rb Fri Nov 19 14:05:24 2010 +0000 +++ b/test/functional/repositories_cvs_controller_test.rb Thu Jan 13 14:12:06 2011 +0000 @@ -15,13 +15,14 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -require File.dirname(__FILE__) + '/../test_helper' +require File.expand_path('../../test_helper', __FILE__) require 'repositories_controller' # Re-raise errors caught by the controller. class RepositoriesController; def rescue_action(e) raise e end; end class RepositoriesCvsControllerTest < ActionController::TestCase + fixtures :projects, :users, :roles, :members, :member_roles, :repositories, :enabled_modules # No '..' in the repository path REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/cvs_repository'