File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments