Created
October 19, 2010 15:13
-
-
Save Vaguery/634357 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| describe "causes rspec-2.0.1 to hang when running from command line under ruby 1.9.2-p0" do | |
| it "this sets up the problem" do | |
| class String | |
| alias :to_int :to_i # comment this out to silence the problem | |
| end | |
| end | |
| it "hangs when you raise an exception" do | |
| raise "x" | |
| end | |
| it "silently passes specs that contain code without matchers" do | |
| 2+3 | |
| end | |
| it "does fine with matchers" do | |
| 1.should == 1 | |
| end | |
| it "glides right by empty specs" do | |
| # nothing at all | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment