Sha256: 9dd46274674719cc46f486642af72f1baf21e806492b9f1b00253440e05c9097

Contents?: true

Size: 627 Bytes

Versions: 2

Compression:

Stored size: 627 Bytes

Contents

#!/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_metadata/file_server'

describe Puppet::Indirector::FileMetadata::FileServer do
  it "should be registered with the file_metadata indirection" do
    Puppet::Indirector::Terminus.terminus_class(:file_metadata, :file_server).should equal(Puppet::Indirector::FileMetadata::FileServer)
  end

  it "should be a subclass of the FileServer terminus" do
    Puppet::Indirector::FileMetadata::FileServer.superclass.should equal(Puppet::Indirector::FileServer)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-2.7.3 spec/unit/indirector/file_metadata/file_server_spec.rb
puppet-2.7.1 spec/unit/indirector/file_metadata/file_server_spec.rb