Sha256: 5a5e6d3205afb2832a03d14c4044549de751212d653cfa1ef70ce62164c44157

Contents?: true

Size: 575 Bytes

Versions: 278

Compression:

Stored size: 575 Bytes

Contents

#! /usr/bin/env ruby
require 'spec_helper'
require 'puppet/resource'
require 'puppet/indirector/memory'
require 'puppet/indirector/resource/store_configs'

class Puppet::Resource::StoreConfigsTesting < Puppet::Indirector::Memory
end

describe Puppet::Resource::StoreConfigs do
  it_should_behave_like "a StoreConfigs terminus"

  before :each do
    Puppet[:storeconfigs] = true
    Puppet[:storeconfigs_backend] = "store_configs_testing"
  end

  it "disallows remote requests" do
    expect(Puppet::Resource::StoreConfigs.new.allow_remote_requests?).to eq(false)
  end
end

Version data entries

278 entries across 278 versions & 1 rubygems

Version Path
puppet-6.4.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.4.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.4.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.4.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.0.7 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.0.7-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.0.7-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.0.7-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-5.5.12 spec/unit/indirector/resource/store_configs_spec.rb
puppet-5.5.12-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-5.5.12-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-5.5.12-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.3.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.3.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.3.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.3.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.2.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.2.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.2.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-6.2.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb