Skip to content

Instantly share code, notes, and snippets.

@supaspoida
Created August 20, 2009 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save supaspoida/171213 to your computer and use it in GitHub Desktop.
Save supaspoida/171213 to your computer and use it in GitHub Desktop.
require 'test/unit'
class HelloWorldTest < Test::Unit::TestCase
def test_hello_world
object = HelloWorld.new
assert_equal "hello world", object.hello_world
end
end
class HelloWorld
def hello_world
"hello world"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment