forked from rspec/rspec-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give a useful error when let or subject called without a block.
This is done by nil chcking the block in let before using it. Signed-off-by: Sam Phippen <[email protected]>
- Loading branch information
Sam Phippen
committed
Apr 5, 2013
1 parent
bbfa594
commit dc81660
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
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
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