The `experiment` dsl, as implemented from the controller doesn't handle view logic entirely correctly.
If you take the following haml, it doesn't work as expected, and this is likely because the experiment
method (when called from within the view layer) needs to call capture
if it's available on the block provided.
- experiment(:example) do |e|
span.testing
- e.control do
= "control copy"
- e.candidate do
= "candidate copy"
span.always= "in the #{e.name} experiment"
Actual output: (likely)
<body>
<span class="testing"></span>
<span class="always">in the example experiment</span>
control copy
</body>