[Groonga-commit] ranguba/groonga-client-rails at 6d46728 [master] SImplify

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Mar 27 22:28:32 JST 2016


Kouhei Sutou	2016-03-27 22:28:32 +0900 (Sun, 27 Mar 2016)

  New Revision: 6d4672870dd08c9858963325aa7c932881f18a5c
  https://github.com/ranguba/groonga-client-rails/commit/6d4672870dd08c9858963325aa7c932881f18a5c

  Message:
    SImplify

  Modified files:
    test/run-test.rb

  Modified: test/run-test.rb (+2 -13)
===================================================================
--- test/run-test.rb    2016-03-27 22:27:52 +0900 (ec95312)
+++ test/run-test.rb    2016-03-27 22:28:32 +0900 (4731701)
@@ -22,24 +22,13 @@ unless system(RbConfig.ruby, "test/unit/run-test.rb", *ARGV)
   exit(false)
 end
 
-def bundlered?
-  not ENV["BUNDLE_GEMFILE"].nil?
-end
-
-def unbundler
-  ENV["BUNDLE_GEMFILE"] = nil
-  ENV["GEM_HOME"] = nil
-  ENV["GEM_PATH"] = nil
-  ENV["RUBYOPT"]  = nil
-end
-
-unbundler if bundlered?
-
 Dir.glob("#{__dir__}/apps/*") do |test_application|
   env = {
     "BUNDLE_GEMFILE" => "#{test_application}/Gemfile",
   }
   command_line = [
+    "bundle",
+    "exec",
     RbConfig.ruby,
     "bin/rake",
     "test",
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index