The goal of adding this test now is to build sufficient confidence before introducing this change to propagate options to nested capture_generators in Temple (https://github.com/judofyr/temple/pull/144).
@minad — this is my first contribution to Slim. Please let me know if you'd like to see anything different here.
As discussed with @minad in https://github.com/judofyr/temple/pull/112#issuecomment-1506839532, here is a simple regression test intended to catch any issues around the specific intersection of Temple's capture handling and Slim's Rails-specific Temple generator.
Locally, I've tested this against:
gem 'temple', :github => 'judofyr/temple'
gem "temple", github: "timriley/temple", branch: "propagate-options-to-capture-generator"
(matching this PR: https://github.com/judofyr/temple/pull/144)And the test passes in both cases.
The goal of adding this test now is to build sufficient confidence before introducing this change to propagate options to nested capture_generators in Temple (https://github.com/judofyr/temple/pull/144).
@minad — this is my first contribution to Slim. Please let me know if you'd like to see anything different here.