# $Id: Portfile,v 1.7 2005/08/11 21:33:36 rshaw Exp $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		Test-Unit-Mock 0.03 basic_install.rb {README misc}
revision		3
maintainers		darwinports@opendarwin.org
description		Mock objects for Test::Unit in Ruby
long_description	Test::Unit::Mock is a class for conveniently \
					building mock objects in Test::Unit test cases. It \
					is based on ideas in Ruby/Mock by Nat Pryce, which \
					is a class for doing much the same thing for RUnit \
					test cases. It allows you do make a mocked object \
					that will respond to all the methods of the real \
					class (albeit probably not with correct results) \
					with one line of code.
homepage		http://www.deveiate.org/code/${ruby.module}.html
master_sites	http://www.deveiate.org/code/
checksums		md5 ad3b8da578597bebb9e8462a498cdad2
platforms		darwin

depends_lib-append		port:rb-algorithm-diff

test.run		yes
test.cmd		${ruby.bin} test.rb
test.target

