Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Added missing require, we are using here the bind method defined on active_support/core_ext/proc

#4610
......E......................................E......
Finished in 2.201572 seconds.

  1) Error:
test_being_able_to_put_proc's_into_the_defaults_hash_and_they_get_evaluated_on_mail_sending(BaseTest):
NoMethodError: undefined method `bind' for #
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:571:in `mail'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:570:in `merge'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:570:in `mail'
    base_test.rb:123:in `welcome'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/base.rb:144:in `send_action'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/base.rb:144:in `process_action'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/base.rb:113:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/rendering.rb:39:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/old_api.rb:75:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:416:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:411:in `initialize'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:395:in `new'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:395:in `method_missing'
    base_test.rb:582:in `test_being_able_to_put_proc's_into_the_defaults_hash_and_they_get_evaluated_on_mail_sending'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run'

  2) Error:
test_we_can_call_other_defined_methods_on_the_class_as_needed(BaseTest):
NoMethodError: undefined method `bind' for #
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:571:in `mail'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:570:in `merge'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:570:in `mail'
    base_test.rb:123:in `welcome'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/base.rb:144:in `send_action'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/base.rb:144:in `process_action'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/base.rb:113:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/abstract_controller/rendering.rb:39:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/old_api.rb:75:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:416:in `process'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:411:in `initialize'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:395:in `new'
    /home/santiago/Documentos/WyeWorks/Proys/rails/actionmailer/lib/action_mailer/base.rb:395:in `method_missing'
    base_test.rb:590:in `test_we_can_call_other_defined_methods_on_the_class_as_needed'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/callbacks.rb:408:in `_run_setup_callbacks'
    /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run'

52 tests, 155 assertions, 0 failures, 2 errors

Reported by Santiago Pastorino · May 16th, 2010 @ 03:06 AM

State: committed
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to open

    Patch for the failing tets

    May 16th, 2010 @ 03:08 AM

  2. Santiago Pastorino
    Santiago Pastorino
    • Tag changed from actionmailer, bugmash, tests to actionmailer, bugmash, bugmash-review, patch, tests

    May 16th, 2010 @ 06:16 AM

  3. Rizwan Reza
    Rizwan Reza
    • Tag changed from actionmailer, bugmash, bugmash-review, patch, tests to actionmailer, bugmash, patch, tests

    Let's test this before core's review.

    May 16th, 2010 @ 09:32 AM

  4. José Valim
    José Valim

    Good catch Pastorino! But the require should rather be in the action_mailer/base.rb, no?

    May 16th, 2010 @ 02:00 PM

  5. Santiago Pastorino
    Santiago Pastorino

    Absolutely right, like always José ;)

    May 16th, 2010 @ 02:32 PM

  6. Hussein Morsy
  7. Repository
    Repository
    • State changed from open to committed

    May 16th, 2010 @ 03:16 PM

  8. Anil Wadghule
    Anil Wadghule
    • Tag changed from actionmailer, bugmash, patch, tests to actionmailer, patch, tests

    May 16th, 2010 @ 03:26 PM

  9. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM