blob: 99a535dc3678c1ba34281132ca137d598a6851fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env rspec
#
# Created by Luke Kanies on 2007-10-18.
# Copyright (c) 2007. All rights reserved.
require 'spec_helper'
require 'puppet/indirector/file_content/file_server'
describe Puppet::Indirector::FileContent::FileServer do
it "should be registered with the file_content indirection" do
Puppet::Indirector::Terminus.terminus_class(:file_content, :file_server).should equal(Puppet::Indirector::FileContent::FileServer)
end
it "should be a subclass of the FileServer terminus" do
Puppet::Indirector::FileContent::FileServer.superclass.should equal(Puppet::Indirector::FileServer)
end
end
|