File: minitest_extensions.rb

package info (click to toggle)
ruby-rantly 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 208 kB
  • sloc: ruby: 827; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 166 bytes parent folder | download
1
2
3
4
5
6
7
8
9
require 'minitest'
require 'rantly/property'
require "minitest/autorun"

Minitest::Test.class_eval do
  def property_of(&blk)
    Rantly::Property.new(blk)
  end
end