Created
July 25, 2013 00:23
-
-
Save jendiamond/6075814 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
##grep | |
our tests should test that it does not raise an error | |
another test to make sure it prints a friendly message. | |
grep -r "def ui" . | |
**grep -r recursive "whatever you are searching for" where** | |
http://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/ | |
in ruby the name of the Class is the name of the file. | |
https://github.com/bundler/bundler/issues/2550 | |
Run options: | |
include {:focused=>true} | |
exclude {:ruby=>"1.8", :realworld=>true, :sudo=>true} | |
All examples were filtered out; ignoring {:focused=>true} | |
bundle i error | |
prints a friendly message (FAILED - 1) | |
Failures: | |
1) bundle i error prints a friendly message | |
Failure/Error: expect{ bundle :i }.to raise_error | |
expected Exception but nothing was raised | |
# ./spec/bundle_i_spec.rb:5:in `block (2 levels) in <top (required)>' | |
Finished in 1.22 seconds | |
1 example, 1 failure | |
Failed examples: | |
rspec ./spec/bundle_i_spec.rb:4 # bundle i error prints a friendly message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment