Sha256: c22e01b64408639c56d83bc0683e02e1c911c7d416d5b7d6a5b6256c3943f86b

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

require 'minitest'
require 'rantly/property'

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

5 entries across 5 versions & 1 rubygems

Version Path
rantly-2.0.0 lib/rantly/minitest_extensions.rb
rantly-1.2.0 lib/rantly/minitest_extensions.rb
rantly-1.1.0 lib/rantly/minitest_extensions.rb
rantly-1.0.0 lib/rantly/minitest_extensions.rb
rantly-0.3.2 lib/rantly/minitest_extensions.rb