Created
December 7, 2010 10:25
-
-
Save txus/731650 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
Failure/Error: subject.user.should == existing_user | |
private method `pretty_print' called for #<RSpec::Mocks::ErrorGenerator:0x00000106168148> | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `block in pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:236:in `block (3 levels) in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:234:in `block (2 levels) in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:223:in `block in seplist' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:217:in `each' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:217:in `seplist' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:229:in `block in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:178:in `object_address_group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:228:in `pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:298:in `pretty_print' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `block in pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:236:in `block (3 levels) in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:234:in `block (2 levels) in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:223:in `block in seplist' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:217:in `each' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:217:in `seplist' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:229:in `block in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:178:in `object_address_group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:228:in `pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:298:in `pretty_print' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `block in pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:236:in `block (3 levels) in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:234:in `block (2 levels) in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:223:in `block in seplist' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:217:in `each' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:217:in `seplist' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:229:in `block in pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:178:in `object_address_group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:228:in `pp_object' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:298:in `pretty_print' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `block in pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:199:in `block (2 levels) in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:225:in `nest' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:198:in `block in group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:210:in `group_sub' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/prettyprint.rb:197:in `group' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:154:in `pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:77:in `block in pp' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:121:in `guard_inspect_key' | |
# /Users/txus/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/pp.rb:77:in `pp' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-expectations-2.2.0/lib/rspec/expectations/differ.rb:45:in `diff_as_object' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-expectations-2.2.0/lib/rspec/expectations/fail_with.rb:25:in `fail_with' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-expectations-2.2.0/lib/rspec/matchers/operator_matcher.rb:48:in `fail_with_message' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-expectations-2.2.0/lib/rspec/matchers/operator_matcher.rb:70:in `__delegate_operator' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-expectations-2.2.0/lib/rspec/matchers/operator_matcher.rb:60:in `eval_match' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-expectations-2.2.0/lib/rspec/matchers/operator_matcher.rb:29:in `block in use_custom_matcher_or_delegate' | |
# ./spec/models/attendee_spec.rb:25:in `block (5 levels) in <top (required)>' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:40:in `instance_eval' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:40:in `block (2 levels) in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:88:in `with_around_hooks' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:37:in `block in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:81:in `block in with_pending_capture' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:80:in `catch' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:80:in `with_pending_capture' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example.rb:36:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:261:in `block in run_examples' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:257:in `map' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:257:in `run_examples' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:231:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `block in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `map' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `block in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `map' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `block in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `map' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/example_group.rb:232:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/command_line.rb:27:in `block (2 levels) in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/command_line.rb:27:in `map' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/command_line.rb:27:in `block in run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/reporter.rb:12:in `report' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/command_line.rb:24:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/runner.rb:55:in `run_in_process' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/runner.rb:46:in `run' | |
# /Users/txus/.rvm/gems/ruby-1.9.2-p0@confly/gems/rspec-core-2.2.1/lib/rspec/core/runner.rb:10:in `block in autorun' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pretty Print is calling #inspect on an object without a #to_s.
Add this to your class: