Commit 436308d
committed
Define apache_name via a let block
Defining variables in rspec is dangerous since they end up being defined
on classes. That means that in a for loop it may end up being defined as
the last running version. A let block provides proper variable scoping.
This wasn't a problem until fb0d078
where it ran spec tests on all operating systems. Then it became
dependent on the order of the supported operating systems.
Fixes: fb0d0781 parent 1393439 commit 436308d
1 file changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 8 | + | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
| |||
0 commit comments