Created
August 19, 2012 14:00
-
-
Save takkanm/3395011 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
| $ cat let.rb | |
| describe do | |
| let!(:a) { puts 'first let' } | |
| before { puts 'before' } | |
| let!(:b) { puts 'second let' } | |
| it { true.should be_true } | |
| end | |
| $ rspec let.rb | |
| first let | |
| before | |
| second let | |
| . | |
| Finished in 0.00272 seconds | |
| 1 example, 0 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment