Is there a way to add a sequence to the let variable name? Sort of like this:

```
5.times do |n|
    let (:"item_'#{n}'") { FactoryGirl.create(:item, name: "Item-'#{n}'") }
end

```

Then a test like this could work:

```
5.times do |n|
    it { should have_link("Item-'#{n}'", href: item_path("item_'#{n}'") }
end

```

It'll lead to a test for proper sorting, but just trying to understand the basics.

Edit:
There was a typo, I removed the single quotes and the let call seems to be working

```
let! (:"item_#{n}") { FactoryGirl.create(:item, name: "Item-#{n}") }

```

The test passes for a single case if I use:

```
it { should have_link("Item-0", href: item_path(item_0)

```

But not for the sequence if I use:

```
it { should have_link("Item-#{n}", href: item_path("item_#{n}")

```

I have verified the problem is in the href path. How do you interpolate item\_n when the used in a path?