Move definition of step method to spec_helper.rb