Support string interpolation for example names

This commit is contained in:
Michael Miller 2022-01-10 21:29:05 -07:00
parent aabec269cb
commit dd49fe3a67
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2
4 changed files with 49 additions and 4 deletions

View file

@ -0,0 +1,9 @@
require "../spec_helper"
Spectator.describe "Spec metadata" do
let(interpolation) { "string interpolation" }
it "supports #{interpolation}" do |example|
expect(example.name).to eq("supports string interpolation")
end
end