Kouhei Sutou
null+****@clear*****
Sun Oct 12 15:49:17 JST 2014
Kouhei Sutou 2014-10-12 15:49:17 +0900 (Sun, 12 Oct 2014) New Revision: 8a96e9da3c2e1991abf9bbafa30081a3c9525e47 https://github.com/ranguba/racknga/commit/8a96e9da3c2e1991abf9bbafa30081a3c9525e47 Message: test: simplify Modified files: test/test-middleware-instance-name.rb Modified: test/test-middleware-instance-name.rb (+1 -5) =================================================================== --- test/test-middleware-instance-name.rb 2014-10-12 14:31:14 +0900 (1d6feb2) +++ test/test-middleware-instance-name.rb 2014-10-12 15:49:17 +0900 (9ad9da8) @@ -127,10 +127,6 @@ class InstanceNameTest < Test::Unit::TestCase end def using_scm? - if File.exist?(".git") or File.exist?(".svn") - true - else - false - end + File.exist?(".git") or File.exist?(".svn") end end -------------- next part -------------- HTML����������������������������... Descargar