Skip to content

Commit d0ff0ac

Browse files
author
jordanbreen28
committed
(CONT-950) - Address rubocop
1 parent 339ea33 commit d0ff0ac

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spec/defines/server/config_entry_spec.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242
end
4343
end
4444

45-
context 'passes values through appropriately' do
45+
context 'passes a string value through appropriately' do
4646
let(:params) { { ensure: 'present', name: 'string_value', value: 'entry_test' } }
4747

48-
it 'as a String' do
48+
it 'and adds string value to config' do
4949
expect(subject).to contain_postgresql_conf('string_value').with(name: 'string_value',
50-
value: 'entry_test')
50+
value: 'entry_test')
5151
end
5252
end
5353

54-
context 'passes values through appropriately' do
54+
context 'passes an integer value through appropriately' do
5555
let(:params) { { ensure: 'present', name: 'integer_value', value: 40 } }
5656

57-
it 'as an Integer' do
57+
it 'and adds integer value to config' do
5858
expect(subject).to contain_postgresql_conf('integer_value').with(name: 'integer_value',
59-
value: 40)
59+
value: 40)
6060
end
6161
end
6262

63-
context 'passes values through appropriately' do
63+
context 'passes a float value through appropriately' do
6464
let(:params) { { ensure: 'present', name: 'floating_point_value', value: 4.0 } }
6565

66-
it 'a Float' do
66+
it 'and adds float value to config' do
6767
expect(subject).to contain_postgresql_conf('floating_point_value').with(name: 'floating_point_value',
6868
value: 4.0)
6969
end

0 commit comments

Comments
 (0)