Sha256: 0d99dd58ebf162719c2c5f55eb61e6f5de692ccccdf9502f2680a05d2b7d298a

Contents?: true

Size: 542 Bytes

Versions: 4

Compression:

Stored size: 542 Bytes

Contents

#! /usr/bin/env ruby -S rspec
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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-3.0.0.rc8 spec/unit/indirector/file_content/file_server_spec.rb
puppet-3.0.0.rc7 spec/unit/indirector/file_content/file_server_spec.rb
puppet-3.0.0.rc5 spec/unit/indirector/file_content/file_server_spec.rb
puppet-3.0.0.rc4 spec/unit/indirector/file_content/file_server_spec.rb