Skip to content

Commit

Permalink
Force minitest ~> 4.7 for autotest
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Nov 25, 2014
1 parent 55e3c74 commit 92c1816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .autotest
@@ -1,7 +1,8 @@
require 'autotest/restart'

Autotest.add_hook :run_command do |at|
Autotest.add_hook :run_command do |_, cmd|
system "#{Gem.ruby} -rubygems #{Gem.bin_path 'rake', 'rake'} generate"
cmd.sub! "'minitest'", "'minitest', '~> 4.7'"
end

Autotest.add_hook :initialize do |at|
Expand Down

0 comments on commit 92c1816

Please sign in to comment.