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 42
42
end
43
43
end
44
44
45
- context 'passes values through appropriately' do
45
+ context 'passes a string value through appropriately' do
46
46
let ( :params ) { { ensure : 'present' , name : 'string_value' , value : 'entry_test' } }
47
47
48
- it 'as a String ' do
48
+ it 'and adds string value to config ' do
49
49
expect ( subject ) . to contain_postgresql_conf ( 'string_value' ) . with ( name : 'string_value' ,
50
- value : 'entry_test' )
50
+ value : 'entry_test' )
51
51
end
52
52
end
53
53
54
- context 'passes values through appropriately' do
54
+ context 'passes an integer value through appropriately' do
55
55
let ( :params ) { { ensure : 'present' , name : 'integer_value' , value : 40 } }
56
56
57
- it 'as an Integer ' do
57
+ it 'and adds integer value to config ' do
58
58
expect ( subject ) . to contain_postgresql_conf ( 'integer_value' ) . with ( name : 'integer_value' ,
59
- value : 40 )
59
+ value : 40 )
60
60
end
61
61
end
62
62
63
- context 'passes values through appropriately' do
63
+ context 'passes a float value through appropriately' do
64
64
let ( :params ) { { ensure : 'present' , name : 'floating_point_value' , value : 4.0 } }
65
65
66
- it 'a Float ' do
66
+ it 'and adds float value to config ' do
67
67
expect ( subject ) . to contain_postgresql_conf ( 'floating_point_value' ) . with ( name : 'floating_point_value' ,
68
68
value : 4.0 )
69
69
end
You can’t perform that action at this time.
0 commit comments