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:
However, when viewing the features, RubyMine cannot recognise the steps: