highlighting of matching steps in Cucumber - fails

When creating Cucumber features, Rubymine will highlight any matching steps it finds in any of the step definition files. This is a really handy little feature.

Unfortunately it's not working in all cases.

I'm following through the Rails 3 In Action book and it shows how you can DRY up some of the steps:

as in:

However, when viewing the features, RubyMine cannot recognise the steps:


Please sign in to leave a comment.