Skip to content

Instantly share code, notes, and snippets.

@madadam
Created December 14, 2009 13:59
Show Gist options
  • Save madadam/256065 to your computer and use it in GitHub Desktop.
Save madadam/256065 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'test/unit'
require 'turn'
class FooTest < Test::Unit::TestCase
def test_foo
assert_foo false
end
private
def assert_foo(value, message = 'foo failed')
assert_equal true, value, message
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment