Permalink
Browse files

the soft pillows

  • Loading branch information...
1 parent 7db3d37 commit 066a4daa2e4b0b7842f841cb960d5df9dcf0f448 @cairo140 cairo140 committed Dec 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mocha/object.rb
View
@@ -52,7 +52,7 @@ def stubba_object # :nodoc:
# product.expects(:save).returns(true)
def expects(method_name_or_hash)
if method_name_or_hash.to_s =~ /the[^a-z]*spanish[^a-z]*inquisition/i
- raise Mocha::ExpectationError.new('NOBODY EXPECTS THE SPANISH INQUISION')
+ raise Mocha::ExpectationError.new('NOBODY EXPECTS THE SPANISH INQUISITION!')
end
expectation = nil
mockery = Mocha::Mockery.instance

0 comments on commit 066a4da

Please sign in to comment.