As it stands, in an RSpec group, you can def a method and use it in examples. Steps don't currently allow for this. Should they? The easy workaround at the moment is to extract the method to a module and include the module (which step lists do allow for).