Sha256: 386f3a531f5af55d7971d4351c8097c2d346161c3e786c935198ce4b890d1630

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

require_relative '../helper'

class TestUser < MiniTest::Unit::TestCase
  def test_extension_loaded
    assert User.respond_to?(:create_dummy)

    assert TestDummy::Loader.load!(User)
  end

  def test_create_dummy
    user = User.create_dummy

    assert user

    assert user.name?
    assert user.password_crypt?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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