rake spec:plugin picking up generator templates in restful_auth
Reported by Lar Van Der Jagt | August 19th, 2008 @ 09:05 PM | in No-Milestone-Assigned
This may not be a bug, but rather a confusion of conventions.
Generators for restful_authentication are stored in the following directory, and are picked up by rake spec:plugins causing syntax errors.
generators/authenticated/templates/spec
Adding the following to rspec.rake line 58 that was generated for me prevented this problem:
.exclude('vendor/plugins/**/templates/*')
I realize that this may be specific to the restful_auth plugin and may not be appropriate for addition into the default tasks, but I am wondering if there is a convention for storing these generator templates that won't result in them being picked up by rspec?
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Behaviour Driven Development for Ruby.
