Browse files

Centaurprise test suite

  • Loading branch information...
1 parent 8f97396 commit f60cb5d2dd3308d0bced359fbf48ea35a82f034c Robert Pitts and Tim Pope committed with tpope Mar 31, 2011
Showing with 7 additions and 3 deletions.
  1. +7 −3 spec/centaur_spec.rb
View
10 spec/centaur_spec.rb
@@ -1,15 +1,19 @@
describe TestAlignCentaur do
+ def stall
+ sleep rand/16
+ end
+
def self.pass
- it { }
+ it { stall }
end
def self.fail
- it { true.should be_false }
+ it { stall; true.should be_false }
end
def self.pend(reason)
- it { pending(reason) }
+ it { stall; pending(reason) }
end
49.times { pass }

0 comments on commit f60cb5d

Please sign in to comment.