summaryrefslogtreecommitdiffstats
path: root/test/extra
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-12 19:59:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-12 19:59:28 +0000
commit48a557a79e156c7ea629b33637fe9d73f0ab4598 (patch)
treee5b09f02774087b08743f2fb4ed5adafd14ae4ca /test/extra
parent4fda1f6cd1ca7bf4af271d5125130f6bb10cd7b4 (diff)
downloadredmine-48a557a79e156c7ea629b33637fe9d73f0ab4598.tar.gz
redmine-48a557a79e156c7ea629b33637fe9d73f0ab4598.zip
Use a random filename.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9827 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/extra')
-rw-r--r--test/extra/redmine_pm/repository_subversion_test.rb2
1 files changed, 1 insertions, 1 deletions
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