Fixed deprecation config in spec_helper.rb templates (spree_cmd)

Closes #5045