This project is archived and is in readonly mode.

method_missing errors activeresource tests, mocha is not required there
Reported by Santiago Pastorino | January 31st, 2010 @ 09:03 PM
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
Comments and changes to this ticket
- 
         
- 
         Santiago Pastorino February 2nd, 2010 @ 11:49 AM- Assigned user set to Prem Sichanugrist (sikachu)
 Someone already fixed this issue, please close it 
- 
         Prem Sichanugrist (sikachu) February 2nd, 2010 @ 11:59 AM- State changed from new to resolved
 
- 
         
- 
         Prem Sichanugrist (sikachu) February 2nd, 2010 @ 03:47 PM- State changed from resolved to open
- Assigned user changed from Prem Sichanugrist (sikachu) to Pratik
 
- 
         Repository February 6th, 2010 @ 12:18 AM- State changed from open to committed
 (from [a9620ab918b555fc963013e7f5417dbff4e87db3]) method_missing errors on activeresource tests, mocha is not required there [#3825 state:committed] Signed-off-by: Jeremy Kemper jeremy@bitsweat.net 
 http://github.com/rails/rails/commit/a9620ab918b555fc963013e7f5417d...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 
         3825 
          method_missing errors activeresource tests, mocha is not required there
        [#3825 state:committed] 3825 
          method_missing errors activeresource tests, mocha is not required there
        [#3825 state:committed]
 Pratik
      Pratik
 Prem Sichanugrist (sikachu)
      Prem Sichanugrist (sikachu)
 Santiago Pastorino
      Santiago Pastorino