]> source.dussan.org Git - redmine.git/commitdiff
Use a random filename.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 12 Jun 2012 19:59:28 +0000 (19:59 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 12 Jun 2012 19:59:28 +0000 (19:59 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9827 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/extra/redmine_pm/repository_subversion_test.rb

index 3feb393ce07a27fdf1afff96bf53cc9f22673afb..3700d3fd9553493cbf96ede6bbfc89b1548ba5c7 100644 (file)
@@ -167,7 +167,7 @@ class RedminePmTest::RepositorySubversionTest < RedminePmTest::TestCase
 
   def test_write_commands
     Role.find(2).add_permission! :commit_access
-    filename = DateTime.now.strftime("%y%m%d%H%M%S")
+    filename = random_filename
 
     Dir.mktmpdir do |dir|
       assert_success "checkout", svn_url, dir