class MiniTest::Spec

Public Class Methods

check(name, &block) click to toggle source
# File lib/minitest-check.rb, line 194
def check name, &block
  define_method "check_#{name.gsub(/\W+/, '_')}", &block
end
Also aliased as: prop
prop(name, &block)

Make the Haskell people happy. :)

Alias for: check