Commit af1888d
committed
fix: prevent RSpec 3.5+ from auto-discovering test example groups
Use anonymous classes instead of RSpec::Core::ExampleGroup.describe()
to create example groups for formatter testing. This prevents RSpec 3.5+
from automatically registering and executing these test groups, which
was causing false test failures.1 parent 967278e commit af1888d
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
6 | 17 | | |
7 | 18 | | |
8 | 19 | | |
| |||
0 commit comments