From: Jean-Philippe Lang Date: Tue, 12 Jun 2012 19:59:28 +0000 (+0000) Subject: Use a random filename. X-Git-Tag: 2.1.0~446 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48a557a79e156c7ea629b33637fe9d73f0ab4598;p=redmine.git Use a random filename. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9827 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/extra/redmine_pm/repository_subversion_test.rb b/test/extra/redmine_pm/repository_subversion_test.rb index 3feb393ce..3700d3fd9 100644 --- a/test/extra/redmine_pm/repository_subversion_test.rb +++ b/test/extra/redmine_pm/repository_subversion_test.rb @@ -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