Hoe::Minitest

Public Instance Methods

define_minitest_tasks() click to toggle source
# File lib/hoe/minitest.rb, line 11
def define_minitest_tasks
  self.testlib = :minitest

  # make sure we use the gemmed minitest on 1.9
  self.test_prelude = 'gem "minitest"'
end
initialize_minitest() click to toggle source
# File lib/hoe/minitest.rb, line 2
def initialize_minitest
  gem "minitest"
  require 'minitest/unit'
  version = MiniTest::Unit::VERSION.split(/\./).first(2).join(".")

  dependency 'minitest', "~> #{version}", :development unless
    self.name == "minitest"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.