Add support for interpolation in context names

This commit is contained in:
Michael Miller 2022-12-20 20:32:40 -07:00
parent 30602663fe
commit 8c3900adcb
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2
4 changed files with 8 additions and 2 deletions

View file

@ -8,7 +8,7 @@ Spectator.describe "Interpolated Label" do
expect(example.name).to eq("interpolates example labels")
end
context "within a \#{bar}" do
context "within a #{bar}" do
let(foo) { "multiple" }
it "interpolates context labels" do |example|