Permalink
Browse files

fix test runner after move to minitest

`testrb` utility is gone from minitest. `autorun` is needed if you want
the test to actually run
  • Loading branch information...
1 parent 0431614 commit 26e9869f0b5d5b0990768aeb1b3d817c0ddf0f33 @mislav mislav committed Dec 28, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 script/test
  2. +1 −1 test/helper.rb
View
2 script/test
@@ -125,7 +125,7 @@ begin
end until responsive.call('/echo')
ENV['LIVE'] = "http#{ssl_mode ? 's' : ''}://#{host}:#{port}"
-ok = system 'ruby', '-Ilib:test', '-S', 'testrb', *test_files
+ok = system 'ruby', '-Ilib:test', '-e', 'ARGV.each{|f| load f }', *test_files
server.respond_to?(:stop!) ? server.stop! : server.stop
thread.join
View
2 test/helper.rb
@@ -8,7 +8,7 @@
end
end
-require 'minitest/unit'
+require 'minitest/autorun'
if ENV['LEFTRIGHT']
begin

0 comments on commit 26e9869

Please sign in to comment.