summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-01-12 03:07:39 +0000
committerGo MAEDA <maeda@farend.jp>2023-01-12 03:07:39 +0000
commit2cf2bfdbed06cb17c704a79c33add9175eff8320 (patch)
tree3c71539401c29276533545dbc2ab46f0507c4e37 /test/functional
parent38d1e484b2fb872480875e1421bb89cef5c1f542 (diff)
downloadredmine-2cf2bfdbed06cb17c704a79c33add9175eff8320.tar.gz
redmine-2cf2bfdbed06cb17c704a79c33add9175eff8320.zip
Fix redundant 'private' modifier in repositories_git_controller_test.rb (#38091).
git-svn-id: https://svn.redmine.org/redmine/trunk@22040 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/repositories_git_controller_test.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb
index 0ffd3134c..01f745de6 100644
--- a/test/functional/repositories_git_controller_test.rb
+++ b/test/functional/repositories_git_controller_test.rb
@@ -810,14 +810,6 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
@project.reload
assert_nil @project.repository
end
-
- private
-
- def puts_pass_on_not_utf8
- puts "TODO: This test fails " +
- "when Encoding.default_external is not UTF-8. " +
- "Current value is '#{Encoding.default_external.to_s}'"
- end
else
puts "Git test repository NOT FOUND. Skipping functional tests !!!"
def test_fake; assert true end
@@ -831,4 +823,10 @@ class RepositoriesGitControllerTest < Redmine::RepositoryControllerTest
yield
ActionController::Base.perform_caching = before
end
+
+ def puts_pass_on_not_utf8
+ puts "TODO: This test fails " +
+ "when Encoding.default_external is not UTF-8. " +
+ "Current value is '#{Encoding.default_external.to_s}'"
+ end
end