Issue #1972 has been updated by masterzen.

Status changed from Accepted to Ready for Testing
Assigned to changed from masterzen to jamtur01
% Done changed from 0 to 100
Complexity changed from Unknown to Trivial

Patch available in my github repository branch tickets/0.24.x/1972:
http://github.com/masterzen/puppet/tree/tickets/0.24.x/1972

----------------------------------------
Bug #1972: ActiveRecord fixes resulted in broken tests
http://projects.reductivelabs.com:80/issues/1972

Author: luke
Status: Ready for Testing
Priority: Normal
Assigned to: jamtur01
Category: Rails
Target version: 0.24.8
Complexity: Trivial
Affected version: 0.24.7
Keywords: 


<pre>
  1) Error:
test_to_rails(TestExportedResources):
NameError: uninitialized constant Puppet::Rails::ParamValues
    
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in
 `load_missing_constant'
    
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in
 `const_missing'
    /Users/luke/git/puppet/lib/puppet/rails/resource.rb:60:in `get_params_hash'
    /Users/luke/git/puppet/lib/puppet/rails/resource.rb:99:in `parameters'
    ./rails/railsresource.rb:219:in `test_to_rails'
    
/Library/Ruby/Gems/1.8/gems/mocha-0.9.2/lib/mocha/test_case_adapter.rb:69:in 
`__send__'
    
/Library/Ruby/Gems/1.8/gems/mocha-0.9.2/lib/mocha/test_case_adapter.rb:69:in 
`run'

  9) Failure:
test_parameters(TestRailsResource)
    [./rails/railsresource.rb:81:in `test_parameters'
     
/Library/Ruby/Gems/1.8/gems/mocha-0.9.2/lib/mocha/test_case_adapter.rb:69:in 
`__send__'
     
/Library/Ruby/Gems/1.8/gems/mocha-0.9.2/lib/mocha/test_case_adapter.rb:69:in 
`run']:
Exception raised:
Class: <NameError>
Message: <"uninitialized constant Puppet::Rails::ParamValues">
---Backtrace---
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in
 `load_missing_constant'
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in
 `const_missing'
/Users/luke/git/puppet/lib/puppet/rails/resource.rb:60:in `get_params_hash'
/Users/luke/git/puppet/lib/puppet/rails/resource.rb:99:in `parameters'
./rails/railsresource.rb:82:in `test_parameters'
./rails/railsresource.rb:81:in `test_parameters'
/Library/Ruby/Gems/1.8/gems/mocha-0.9.2/lib/mocha/test_case_adapter.rb:69:in 
`__send__'
/Library/Ruby/Gems/1.8/gems/mocha-0.9.2/lib/mocha/test_case_adapter.rb:69:in 
`run'
---------------
</pre>

If I can figure them out I'll fix them, but I figure Brice has all this stuff 
pretty near the top of his cache.


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to