summaryrefslogtreecommitdiffstats
path: root/spec/unit/indirector/file_content/file_spec.rb
blob: d1c6dc738b89487525ea76d18459a08bd54b732f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env rspec
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