Skip to content

Instantly share code, notes, and snippets.

@ahk
Created Mar 15, 2011
Embed
What would you like to do?
1) An ActivityMailer class receiving notify_researchers With test deliveries#notify_response_author should be from no-reply@example.com
Failure/Error: ActivityMailer.deliver_reply(@comment, @participant).from.should == ["no-reply@example.com"]
ArgumentError:
wrong number of arguments (0 for 1)
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/delivery_methods.rb:83:in `message'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/delivery_methods.rb:83:in `wrap_delivery_behavior!'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/base.rb:643:in `mail'
# ./app/models/activity_mailer.rb:72:in `reply'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionpack-3.0.5/lib/abstract_controller/base.rb:150:in `send_action'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionpack-3.0.5/lib/abstract_controller/base.rb:150:in `process_action'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionpack-3.0.5/lib/abstract_controller/base.rb:119:in `process'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionpack-3.0.5/lib/abstract_controller/rendering.rb:41:in `process'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/old_api.rb:75:in `process'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/base.rb:448:in `process'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/base.rb:443:in `initialize'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/deprecated_api.rb:70:in `new'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/deprecated_api.rb:70:in `method_missing'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/actionmailer-3.0.5/lib/action_mailer/base.rb:429:in `method_missing'
# ./spec/models/activity_mailer_spec.rb:189
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:49:in `instance_eval'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:49:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:106:in `with_around_hooks'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:46:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:99:in `with_pending_capture'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:98:in `catch'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:98:in `with_pending_capture'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example.rb:45:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:262:in `run_examples'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:258:in `map'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:258:in `run_examples'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:232:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:233:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:233:in `map'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:233:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:233:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:233:in `map'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb:233:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb:27:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb:27:in `map'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb:27:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/reporter.rb:12:in `report'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb:24:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:55:in `run_in_process'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:44:in `run'
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb:10
# /Users/revelation/.rvm/gems/ruby-1.8.7-p249@revelation-project-rails3/bin/rspec:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment