Created
October 12, 2010 18:07
-
-
Save bradphelan/622629 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
| brad@bradgonesurfing:~/job-application$gem list | grep rspec | |
| rspec (2.0.0) | |
| rspec-core (2.0.0) | |
| rspec-expectations (2.0.0) | |
| rspec-mocks (2.0.0) |
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
| describe "something that annoys me with ruby" do | |
| it "doesn't have block local parameters" do | |
| "x".should == 1 | |
| end | |
| end |
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
| >> rspec spec.rb | |
| F | |
| Failures: | |
| 1) something that annoys me with ruby doesn't have block local parameters | |
| /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb:138:in `find_failed_line': undefined method `downcase' for nil:NilClass (NoMethodError) | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/fail_with.rb:29:in `detect' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb:136:in `each' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb:136:in `detect' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb:136:in `find_failed_line' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_formatter.rb:122:in `read_failed_line' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_text_formatter.rb:27:in `dump_failures' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/fail_with.rb:29:in `each_with_index' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_text_formatter.rb:17:in `each' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_text_formatter.rb:17:in `each_with_index' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/formatters/base_text_formatter.rb:17:in `dump_failures' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb:74:in `send' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb:74:in `notify' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb:73:in `each' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb:73:in `notify' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb:22:in `conclude' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/reporter.rb:13:in `report' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/command_line.rb:23:in `run' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/runner.rb:55:in `run_in_process' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/runner.rb:46:in `run' | |
| from /usr/lib/ruby/gems/1.8/gems/rspec-core-2.0.0/lib/rspec/core/runner.rb:10 | |
| from /usr/bin/rspec:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment