Sha256: fdf355c21d263b621b40f283ae82a49a57d96fb31e658050ee1d76b6c63590d0

Contents?: true

Size: 352 Bytes

Versions: 1

Compression:

Stored size: 352 Bytes

Contents

require_relative '../helper'

class TestTestHelper < MiniTest::Unit::TestCase
  def test_macros
    account = an Account

    assert account

    bill = a Bill

    assert bill

    account = an Account, :closed

    assert account
    assert account.closed_at?

    bill = a Bill, :account => account

    assert_equal account, bill.account
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_dummy-0.5.0 test/unit/test_test_helper.rb