summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2009-12-10 14:30:16 -0800
committerJames Turnbull <james@lovedthanlost.net>2009-12-11 18:57:09 +1100
commit979440f6e9131a71c0d600fc8bcbf2934afadaf4 (patch)
tree9c4d027ed215c627c27f234d3e68e1c8d83d65bf
parente04d2998eac50b7d971a9057dd6ef06f26c34de7 (diff)
downloadpuppet-979440f6e9131a71c0d600fc8bcbf2934afadaf4.tar.gz
puppet-979440f6e9131a71c0d600fc8bcbf2934afadaf4.tar.xz
puppet-979440f6e9131a71c0d600fc8bcbf2934afadaf4.zip
Fixing 2862 spec/integration/file_serving/metadata.rb fails unless run with other tests
Due to some heavy mocking, this code was failing to load a dependency. If the `require` happens earlier, then the test passes. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
-rwxr-xr-xspec/integration/file_serving/metadata.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/integration/file_serving/metadata.rb b/spec/integration/file_serving/metadata.rb
index 10c884f47..bd105e412 100755
--- a/spec/integration/file_serving/metadata.rb
+++ b/spec/integration/file_serving/metadata.rb
@@ -7,6 +7,7 @@ require File.dirname(__FILE__) + '/../../spec_helper'
require 'puppet/file_serving/metadata'
require 'shared_behaviours/file_serving'
+require 'puppet/indirector/file_metadata/file_server'
describe Puppet::FileServing::Metadata, " when finding files" do
it_should_behave_like "Puppet::FileServing::Files"