Sorry, actually those were not the full backtraces. Please see below:

Example 1
================
User validation should require a name' FAILED

expected "is required."
     got nil

(compared using eql?)

/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/expectations/fail_with.rb:41:in
 
`fail_with'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/expectations/handler.rb:21:in
 
`handle_matcher'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/expectations/extensions/kernel.rb:27:in
 
`should'
/Users/liseki/work/wwror/adify/spec/models/user_spec.rb:35:in `block (2 
levels) in <top (required)>'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
 
`instance_eval'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:40:in
 
`block in execute'
/opt/local/lib/ruby1.9/1.9.1/timeout.rb:44:in `timeout'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in
 
`execute'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
 
`block in run_examples'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
 
`each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
 
`run_examples'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
 
`run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in
 
`block in run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
 
`each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
 
`run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in
 
`run_examples'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in
 
`run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/bin/spec:5:in 
`<main>'





Example 2
===================
ActiveRecord::RecordInvalid in 'UserSessionsController attempting sign 
in when already signed in should set flash notice and redirect to the 
signed-in-user's homepage'
Validation failed:
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/validations.rb:1090:in
 
`save_with_validation!'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/dirty.rb:87:in
 
`save_with_dirty!'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:200:in
 
`block (2 levels) in save_with_transactions!'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
 
`transaction'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:182:in
 
`transaction'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:200:in
 
`block in save_with_transactions!'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:208:in
 
`rollback_active_record_state!'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/transactions.rb:200:in
 
`save_with_transactions!'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/notahat-machinist-1.0.3/lib/machinist/active_record.rb:54:in
 
`make'
/Users/liseki/work/wwror/adify/spec/support/authentication_helper.rb:3:in 
`sign_in'
/Users/liseki/work/wwror/adify/spec/controllers/user_sessions_controller_spec.rb:47:in
 
`block (2 levels) in <top (required)>'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in
 
`instance_eval'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in
 
`block in eval_each_fail_fast'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in
 
`each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:70:in
 
`eval_each_fail_fast'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_hierarchy.rb:17:in
 
`run_before_each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:103:in
 
`run_before_each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:124:in
 
`before_each_example'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:39:in
 
`block in execute'
/opt/local/lib/ruby1.9/1.9.1/timeout.rb:44:in `timeout'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_methods.rb:37:in
 
`execute'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:214:in
 
`block in run_examples'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
 
`each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:212:in
 
`run_examples'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/example/example_group_methods.rb:103:in
 
`run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:23:in
 
`block in run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
 
`each'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:22:in
 
`run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/options.rb:151:in
 
`run_examples'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:in
 
`run'
/opt/local/lib/ruby1.9/gems/1.9.1/gems/rspec-1.2.9/bin/spec:5:in 
`<main>'



Thanks for any ideas.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to