summaryrefslogtreecommitdiff
path: root/spec/unit/indirector/file_content/file_server_spec.rb
blob: b4a82fcdcca0acdb2bbb0e79964bf1f6914fa944 (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_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