summaryrefslogtreecommitdiffstats
path: root/test/extra/redmine_pm
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra/redmine_pm')
-rw-r--r--test/extra/redmine_pm/repository_git_test_pm.rb2
-rw-r--r--test/extra/redmine_pm/repository_subversion_test_pm.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/extra/redmine_pm/repository_git_test_pm.rb b/test/extra/redmine_pm/repository_git_test_pm.rb
index fac1017b6..1cb8ec853 100644
--- a/test/extra/redmine_pm/repository_git_test_pm.rb
+++ b/test/extra/redmine_pm/repository_git_test_pm.rb
@@ -74,7 +74,7 @@ class RedminePmTest::RepositoryGitTest < RedminePmTest::TestCase
Dir.mktmpdir do |dir|
assert_success "clone", git_url, dir
Dir.chdir(dir) do
- assert File.exists?(File.join(dir, "#{filename}"))
+ assert File.exist?(File.join(dir, "#{filename}"))
end
end
end
diff --git a/test/extra/redmine_pm/repository_subversion_test_pm.rb b/test/extra/redmine_pm/repository_subversion_test_pm.rb
index 9934b3e90..ce0d628e6 100644
--- a/test/extra/redmine_pm/repository_subversion_test_pm.rb
+++ b/test/extra/redmine_pm/repository_subversion_test_pm.rb
@@ -305,7 +305,7 @@ class RedminePmTest::RepositorySubversionTest < RedminePmTest::TestCase
assert_success "update"
# checks that the working copy was updated
- assert File.exists?(File.join(dir, "#{filename}_copy"))
+ assert File.exist?(File.join(dir, "#{filename}_copy"))
assert File.directory?(File.join(dir, "#{filename}_dir"))
end
end