summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-07-29 00:55:10 -0500
committerLuke Kanies <luke@madstop.com>2008-07-29 00:55:10 -0500
commit167831ee3b34eb42b6ca45fcbde2d66a015d90fa (patch)
tree2e1060f0600dbaa21bc7315a731d174be64195be
parente78b1a642050c94bf7d3027048318613505cdaed (diff)
downloadpuppet-167831ee3b34eb42b6ca45fcbde2d66a015d90fa.tar.gz
puppet-167831ee3b34eb42b6ca45fcbde2d66a015d90fa.tar.xz
puppet-167831ee3b34eb42b6ca45fcbde2d66a015d90fa.zip
Fixing a test I broke while rebasing
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xspec/unit/network/http/mongrel/rest.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/network/http/mongrel/rest.rb b/spec/unit/network/http/mongrel/rest.rb
index 5435b0372..0d4ce36bd 100755
--- a/spec/unit/network/http/mongrel/rest.rb
+++ b/spec/unit/network/http/mongrel/rest.rb
@@ -1,10 +1,15 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../../../../spec_helper'
+
require 'puppet/network/http'
describe "Puppet::Network::HTTP::MongrelREST" do
confine "Mongrel is not available" => Puppet.features.mongrel?
+ before do
+ require 'puppet/network/http/mongrel/rest'
+ end
+
it "should include the Puppet::Network::HTTP::Handler module" do
Puppet::Network::HTTP::MongrelREST.ancestors.should be_include(Puppet::Network::HTTP::Handler)