File: minitest-patch.rb

package info (click to toggle)
ruby-cabin 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ruby: 1,306; makefile: 12
file content (13 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "rubygems"
require "minitest/spec"
# XXX: This code stolen from logstash's test bits.

# I don't really like monkeypatching, but whatever, this is probably better
# than overriding the 'describe' method.
class Minitest::Spec
  class << self
    # 'it' sounds wrong, call it 'test'
    alias :test :it
  end
end