Created
April 16, 2010 20:06
-
-
Save apeiros/368898 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BareTest.suite do | |
suite "Success" do | |
assert "Returning a trueish value (non nil/false) is a success" do | |
true | |
end | |
end | |
suite "Failure" do | |
assert "Returning a falsish value (nil/false) is a failure" do | |
false | |
end | |
end | |
suite "Pending" do | |
assert "Without a block is pending" | |
end | |
suite "Error" do | |
assert "Uncaught exceptions are an error" do | |
raise "Error!" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment