Sha256: d3274307abb45204d302aa2380e3a8d1c2fff5ec2e43ad215b300ab748f4e15d

Contents?: true

Size: 554 Bytes

Versions: 340

Compression:

Stored size: 554 Bytes

Contents

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

340 entries across 340 versions & 1 rubygems

Version Path
puppet-8.3.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.4.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.4.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.4.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.4.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.28.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.28.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.28.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.28.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.1 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.1-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.1-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-8.3.1-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.27.0 spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.27.0-x86-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.27.0-x64-mingw32 spec/unit/indirector/resource/store_configs_spec.rb
puppet-7.27.0-universal-darwin spec/unit/indirector/resource/store_configs_spec.rb