Created
May 19, 2010 17:00
-
-
Save thumblemonks/406541 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
require 'rubygems' | |
require 'riot' | |
require 'riot/rr' | |
context "foo" do | |
asserts("your mom") { stub(Time).now { Time.parse("1970/1/1") }; Time.now } | |
end | |
# foo | |
# ! asserts your mom: stack level too deep | |
# | |
# 0 passes, 0 failures, 1 errors in 0.100095 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment