describe "ref and lazy" do
let(:one) { 1 }
let(:four) { 4 }
where(:a, :b, :answer) do
[
[ref(:one), ref(:four), lazy { two + three }],
]
end
with_them do
context "define two and three after where block" do
let(:two) { 2 }
let(:three) { 3 }
it "should do additions" do
expect(a + b).to eq answer
end
end
end
end
usage:
This change should be a workaround for issue #8.