Created
August 29, 2011 03:50
-
-
Save Zequez/1177741 to your computer and use it in GitHub Desktop.
Shoulda not showing error, Rspec backtrace
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
$ rspec spec/models/user_spec.rb:118 --drb -d -b | |
Run filtered including {:line_number=>118} | |
F | |
Failures: | |
1) User validation for password should not require password confirmation | |
Failure/Error: should allow_value('something').for :password | |
Did not expect errors when password is set to "something", got error: | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-expectations-2.6.0/lib/rspec/expectations/fail_with.rb:29:in `fail_with' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-expectations-2.6.0/lib/rspec/expectations/handler.rb:21:in `handle_matcher' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-expectations-2.6.0/lib/rspec/expectations/extensions/kernel.rb:27:in `should' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/subject.rb:54:in `should' | |
# ./spec/models/user_spec.rb:120:in `block (4 levels) in <top (required)>' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `instance_eval' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:48:in `block in run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:107:in `with_around_hooks' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example.rb:45:in `run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:294:in `block in run_examples' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `map' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:290:in `run_examples' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:262:in `run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `block in run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `block in run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `map' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:263:in `run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `map' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:24:in `block in run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/reporter.rb:12:in `report' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:21:in `run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/monkey/spork/test_framework/rspec.rb:5:in `run_tests' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/run_strategy/forking.rb:13:in `block in run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/forker.rb:21:in `block in initialize' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/forker.rb:18:in `fork' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/forker.rb:18:in `initialize' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/run_strategy/forking.rb:9:in `new' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/run_strategy/forking.rb:9:in `run' | |
# /home/zequez/.rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0.rc9/lib/spork/server.rb:48:in `run' | |
# /home/zequez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/drb/drb.rb:1558:in `perform_without_block' | |
# /home/zequez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/drb/drb.rb:1518:in `perform' | |
# /home/zequez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/drb/drb.rb:1592:in `block (2 levels) in main_loop' | |
# /home/zequez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/drb/drb.rb:1588:in `loop' | |
# /home/zequez/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/drb/drb.rb:1588:in `block in main_loop' | |
Finished in 0.44666 seconds | |
1 example, 1 failure | |
Failed examples: | |
rspec ./spec/models/user_spec.rb:119 # User validation for password should not require password confirmation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment