33require 'spec_helper'
44
55# This function is called inside the OS specific contexts
6- def general_info_specs_22
6+ def general_info_specs_apache22
77 it { is_expected . to contain_apache__mod ( 'info' ) }
88
99 context 'passing no parameters' do
@@ -64,7 +64,7 @@ def general_info_specs_22
6464 end
6565end
6666
67- def general_info_specs_24
67+ def general_info_specs_apache24
6868 it { is_expected . to contain_apache__mod ( 'info' ) }
6969
7070 context 'passing no parameters' do
@@ -138,7 +138,7 @@ def general_info_specs_24
138138 end
139139
140140 # Load the more generic tests for this context
141- general_info_specs_22
141+ general_info_specs_apache22
142142
143143 it {
144144 is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
@@ -164,7 +164,7 @@ def general_info_specs_24
164164 end
165165
166166 # Load the more generic tests for this context
167- general_info_specs_22
167+ general_info_specs_apache22
168168
169169 it {
170170 is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
@@ -186,7 +186,7 @@ def general_info_specs_24
186186 end
187187
188188 # Load the more generic tests for this context
189- general_info_specs_24
189+ general_info_specs_apache24
190190
191191 it {
192192 is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
@@ -208,7 +208,7 @@ def general_info_specs_24
208208 end
209209
210210 # Load the more generic tests for this context
211- general_info_specs_24
211+ general_info_specs_apache24
212212
213213 it {
214214 is_expected . to contain_file ( 'info.conf' ) . with ( ensure : 'file' ,
0 commit comments