Issue #2489 has been updated by Luke Kanies.

Status changed from Ready for Checkin to Accepted
Assigned to changed from James Turnbull to Luke Kanies

Crap, updated wrong ticket.  :/
----------------------------------------
Bug #2489: Spec tests without JSON installed fail
http://projects.reductivelabs.com/issues/2489

Author: James Turnbull
Status: Accepted
Priority: High
Assigned to: Luke Kanies
Category: testing
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords: 


Platform: RHEL5

<pre>
# rake spec
(in /root/puppet.git)
./lib/puppet.rb:27: warning: already initialized constant PUPPETVERSION
/root/puppet.git/spec/../lib/puppet/indirector/indirection.rb:308:in 
`make_terminus': Could not find terminus queue for indirection catalog 
(ArgumentError)
  from /root/puppet.git/spec/../lib/puppet/indirector/indirection.rb:130:in 
`terminus'
  from ./spec/integration/indirector/catalog/queue.rb:7
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in
 `load_without_new_constant_marking'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in
 `load'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
 `new_constants_in'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:145:in
 `load'
  from 
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/example_group_runner.rb:15:in
 `load_files'
  from 
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/example_group_runner.rb:14:in
 `each'
  from 
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/example_group_runner.rb:14:in
 `load_files'
  from /usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/options.rb:97:in 
`run_examples'
  from 
/usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/command_line.rb:9:in 
`run'
  from /usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/bin/spec:4
rake aborted!
</pre>

running the individual spec file returned:

<pre>
running just the failing test file gives: custom_require.rb:31:in   
`gem_original_require': no such file to load -- json                         
(MissingSourceFile)
</pre>

Adding the json gem removed the issue but I can't replicate it on F11.



-- 
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