diff --git a/test/integration/routing/repositories_test.rb b/test/integration/routing/repositories_test.rb index 44fe7309e..14c835f37 100644 --- a/test/integration/routing/repositories_test.rb +++ b/test/integration/routing/repositories_test.rb @@ -366,13 +366,4 @@ class RoutingRepositoriesTest < ActionController::IntegrationTest { :controller => 'repositories', :action => 'remove_related_issue', :id => 'redmine', :repository_id => 'foo', :rev => '123', :issue_id => '25' } ) end - - private - - def repository_path_hash(arr) - hs = {} - hs[:path] = arr.join("/") - hs[:param] = arr - hs - end end diff --git a/test/test_helper.rb b/test/test_helper.rb index bf6d5b366..a9eedaba9 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -143,6 +143,13 @@ class ActiveSupport::TestCase File.directory?(repository_path(vendor)) end + def repository_path_hash(arr) + hs = {} + hs[:path] = arr.join("/") + hs[:param] = arr + hs + end + def assert_error_tag(options={}) assert_tag({:attributes => { :id => 'errorExplanation' }}.merge(options)) end