Skip to content

Instantly share code, notes, and snippets.

@omenking
Created June 13, 2019 02:34
Show Gist options
  • Save omenking/3dfd6707f3ac8cc06fdd4f40739d03f7 to your computer and use it in GitHub Desktop.
Save omenking/3dfd6707f3ac8cc06fdd4f40739d03f7 to your computer and use it in GitHub Desktop.
001 - QA Mastery
require "test/unit"
require_relative './hello'
class HelloTest < Test::Unit::TestCase
def test_world
assert_equal 'world', Hello.world, "Hello.world should return a string called 'world'"
end
def test_flunk
flunk "You shall not pass"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment