3
3
require 'spec_helper'
4
4
5
5
# This function is called inside the OS specific contexts
6
- def general_info_specs_22
6
+ def general_info_specs_apache22
7
7
it { is_expected . to contain_apache__mod ( 'info' ) }
8
8
9
9
context 'passing no parameters' do
@@ -64,7 +64,7 @@ def general_info_specs_22
64
64
end
65
65
end
66
66
67
- def general_info_specs_24
67
+ def general_info_specs_apache24
68
68
it { is_expected . to contain_apache__mod ( 'info' ) }
69
69
70
70
context 'passing no parameters' do
@@ -138,7 +138,7 @@ def general_info_specs_24
138
138
end
139
139
140
140
# Load the more generic tests for this context
141
- general_info_specs_22
141
+ general_info_specs_apache22
142
142
143
143
it {
144
144
is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
@@ -164,7 +164,7 @@ def general_info_specs_24
164
164
end
165
165
166
166
# Load the more generic tests for this context
167
- general_info_specs_22
167
+ general_info_specs_apache22
168
168
169
169
it {
170
170
is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
@@ -186,7 +186,7 @@ def general_info_specs_24
186
186
end
187
187
188
188
# Load the more generic tests for this context
189
- general_info_specs_24
189
+ general_info_specs_apache24
190
190
191
191
it {
192
192
is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
@@ -208,7 +208,7 @@ def general_info_specs_24
208
208
end
209
209
210
210
# Load the more generic tests for this context
211
- general_info_specs_24
211
+ general_info_specs_apache24
212
212
213
213
it {
214
214
is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
0 commit comments