Running rake spec, I was getting an undefined constant WEBRick error
message.  Adding the require line to the rest spec alleviates the
problem.

Signed-off-by: Jeff McCune <[email protected]>
---
 spec/integration/indirector/report/rest_spec.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/spec/integration/indirector/report/rest_spec.rb 
b/spec/integration/indirector/report/rest_spec.rb
index fdc2189..6e2020a 100644
--- a/spec/integration/indirector/report/rest_spec.rb
+++ b/spec/integration/indirector/report/rest_spec.rb
@@ -4,6 +4,7 @@ Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| 
File.exist?(f) ? require(f
 
 require 'puppet/transaction/report'
 require 'puppet/network/server'
+require 'webrick'
 require 'puppet/network/http/webrick/rest'
 
 describe "Report REST Terminus" do
-- 
1.7.0.6

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to