This is a bit generic. I'd like to see something a bit more explicit showing that we are matching on `author_id`. How about something like:

```ruby
describe 'with reference attribute "author"' do
...
  it do
    is_expected.to contain(
      /assert_select "input#(.*)_author_id\[name=\?\]", "\1\[author_id\]"/
    )
  end
```