diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-15 02:29:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-02-15 02:29:47 +0000 |
commit | 5d026d6fd3fec453b7f26616a92bbdabe063343b (patch) | |
tree | a06a16750e35f95463ead76c365ef23d5aba5e1e /test/unit/repository_subversion_test.rb | |
parent | 41f190e8edf0771ca63476e12e294283cdfd8a03 (diff) | |
download | redmine-5d026d6fd3fec453b7f26616a92bbdabe063343b.tar.gz redmine-5d026d6fd3fec453b7f26616a92bbdabe063343b.zip |
scm: subversion: change unit app test project id from 1 to 3.
Fixtures have project id 1 subversion changesets and changes.
Change file:/// to file://.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4826 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_subversion_test.rb')
-rw-r--r-- | test/unit/repository_subversion_test.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb index fd761823b..5e0b07183 100644 --- a/test/unit/repository_subversion_test.rb +++ b/test/unit/repository_subversion_test.rb @@ -21,8 +21,9 @@ class RepositorySubversionTest < ActiveSupport::TestCase fixtures :projects, :repositories, :enabled_modules, :users, :roles def setup - @project = Project.find(1) - assert @repository = Repository::Subversion.create(:project => @project, :url => "file:///#{self.class.repository_path('subversion')}") + @project = Project.find(3) + assert @repository = Repository::Subversion.create(:project => @project, + :url => "file://#{self.class.repository_path('subversion')}") end if repository_configured?('subversion') @@ -74,7 +75,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase end def test_directory_listing_with_square_brackets_in_base - @project = Project.find(1) + @project = Project.find(3) @repository = Repository::Subversion.create(:project => @project, :url => "file:///#{self.class.repository_path('subversion')}/subversion_test/[folder_with_brackets]") @repository.fetch_changesets |