summaryrefslogtreecommitdiffstats
path: root/spec/unit/file_serving/content.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/file_serving/content.rb')
-rwxr-xr-xspec/unit/file_serving/content.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/file_serving/content.rb b/spec/unit/file_serving/content.rb
index 08397a067..6d8e2d0ba 100755
--- a/spec/unit/file_serving/content.rb
+++ b/spec/unit/file_serving/content.rb
@@ -8,6 +8,10 @@ describe Puppet::FileServing::Content do
it "should indirect file_content" do
Puppet::FileServing::Content.indirection.name.should == :file_content
end
+
+ it "should should include the TerminusSelector module in its indirection" do
+ Puppet::FileServing::Content.indirection.metaclass.included_modules.should include(Puppet::FileServing::TerminusSelector)
+ end
end
describe Puppet::FileServing::Content, " when initializing" do