blob: e5638af5d6489041c068b7c164a3a987feb7ca7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /usr/bin/env ruby
require 'spec_helper'
require 'puppet/indirector/file_content/file'
describe Puppet::Indirector::FileContent::File do
it "should be registered with the file_content indirection" do
Puppet::Indirector::Terminus.terminus_class(:file_content, :file).should equal(Puppet::Indirector::FileContent::File)
end
it "should be a subclass of the DirectFileServer terminus" do
Puppet::Indirector::FileContent::File.superclass.should equal(Puppet::Indirector::DirectFileServer)
end
end
|