X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fpostgresql%2Fspec%2Funit%2Fpuppet%2Ftype%2Fpostgresql_replication_slot_spec.rb;fp=3rdparty%2Fmodules%2Fpostgresql%2Fspec%2Funit%2Fpuppet%2Ftype%2Fpostgresql_replication_slot_spec.rb;h=0d7c668853a7c01fd0ad5e180bdc931b88ba23a4;hb=a69999e580f8b3abd12446c2d6ad59e517651813;hp=0000000000000000000000000000000000000000;hpb=e7b6b352165009c385c52fcfe5a1055690dbfa4b;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/postgresql/spec/unit/puppet/type/postgresql_replication_slot_spec.rb b/3rdparty/modules/postgresql/spec/unit/puppet/type/postgresql_replication_slot_spec.rb new file mode 100644 index 000000000..0d7c66885 --- /dev/null +++ b/3rdparty/modules/postgresql/spec/unit/puppet/type/postgresql_replication_slot_spec.rb @@ -0,0 +1,11 @@ +require 'spec_helper' + +describe Puppet::Type.type(:postgresql_replication_slot) do + subject do + Puppet::Type.type(:postgresql_psql).new({:name => 'standby'}) + end + + it 'should have a name parameter' do + expect(subject[:name]).to eq 'standby' + end +end