Commit 00ea539
committed
Fix a helper spec that was failing in CI with ViewComponent 3
- test had begun failing w/VC 3.25.0
- specific VC change `Fix stale render context on reused component instances` is the
culprit; After 3.25.0, `#render_in` resets `@_helpers` to `nil` on every call so it's
re-derived fresh from the view context's controller; the test's anonymous controller
doesn't have the `helper_method :blacklight_config` delegation, causing a `NameError`1 parent fa1df27 commit 00ea539
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
175 | 182 | | |
176 | | - | |
177 | 183 | | |
178 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
179 | 193 | | |
180 | 194 | | |
181 | 195 | | |
| |||
0 commit comments