mardi 4 août 2015

Overriding RSpec generator template

Trying override the default rspec-rails scaffold generator template for controllers but for some reason the new template isn't getting picked up

/lib/templates/rspec/scaffold/controller_spec.rb

Apparently putting it there should just work but it still doesn't show when running rails g rspec:scaffold.

Did the format change? I'm using Rails 4.2.2 and rspec-rails 3.3.3

Aucun commentaire:

Enregistrer un commentaire