Sha256: 3734bc6a996360284a6a9b2b92bb05591284ce817f5def1f06cd327ff15f3181
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
require 'minitest' require 'rantly/property' require "minitest/unit" unless defined?(MiniTest) test_class = if defined?(MiniTest::Test) MiniTest::Test else MiniTest::Unit::TestCase end test_class.class_eval do def property_of(&blk) Rantly::Property.new(blk) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rantly-3.0.0 | lib/rantly/minitest_extensions.rb |