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.

method_missing errors activeresource tests, mocha is not required there

#3825
santiago@debian:~/Documentos/WyeWorks/Proys/rails/activeresource/test$ ruby cases/base_test.rb 
Loaded suite cases/base_test
Started
.............................E.......................................EEEE.........
Finished in 1.238166 seconds.

  1) Error:
test_exists_without_http_mock(BaseTest):
NoMethodError: undefined method `any_instance' for ActiveResource::Connection:Class
    cases/base_test.rb:987:in `test_exists_without_http_mock'

  2) Error:
test_update_attribute_as_string(BaseTest):
NoMethodError: undefined method `expects' for #
    /home/santiago/Documentos/WyeWorks/Proys/rails/activeresource/lib/active_resource/base.rb:1411:in `method_missing'
    cases/base_test.rb:849:in `test_update_attribute_as_string'

  3) Error:
test_update_attribute_as_symbol(BaseTest):
NoMethodError: undefined method `expects' for #
    /home/santiago/Documentos/WyeWorks/Proys/rails/activeresource/lib/active_resource/base.rb:1411:in `method_missing'
    cases/base_test.rb:840:in `test_update_attribute_as_symbol'

  4) Error:
test_update_attributes_as_strings(BaseTest):
NoMethodError: undefined method `expects' for #
    /home/santiago/Documentos/WyeWorks/Proys/rails/activeresource/lib/active_resource/base.rb:1411:in `method_missing'
    cases/base_test.rb:870:in `test_update_attributes_as_strings'

  5) Error:
test_update_attributes_as_symbols(BaseTest):
NoMethodError: undefined method `expects' for #
    /home/santiago/Documentos/WyeWorks/Proys/rails/activeresource/lib/active_resource/base.rb:1411:in `method_missing'
    cases/base_test.rb:859:in `test_update_attributes_as_symbols'

82 tests, 241 assertions, 0 failures, 5 errors

Reported by Santiago Pastorino · January 31st, 2010 @ 09:03 PM

State: committed
Milestone: none
Assigned to: Pratik Pratik
Importance: Low

Activity

  1. Santiago Pastorino
  2. Santiago Pastorino
    Santiago Pastorino
    • Assigned user set to Prem Sichanugrist (sikachu)

    Someone already fixed this issue, please close it

    February 2nd, 2010 @ 11:49 AM

  3. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)
    • State changed from new to resolved

    February 2nd, 2010 @ 11:59 AM

  4. Santiago Pastorino
    Santiago Pastorino

    please re-open again the problems are still there

    February 2nd, 2010 @ 03:36 PM

  5. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)
    • State changed from resolved to open
    • Assigned user changed from Prem Sichanugrist (sikachu) to Pratik

    February 2nd, 2010 @ 03:47 PM

  6. Repository
    Repository
    • State changed from open to committed

    February 6th, 2010 @ 12:18 AM