[Rspec-users] spec task prints usage
aslak.hellesoy at gmail.com
Wed Oct 4 15:05:29 EDT 2006
On 10/4/06, Micah Martin <micah at 8thlight.com> wrote:
> A small feature request.
> When running the spec rake task, if any of the folders 'spec/models',
> 'spec/controller', or 'spec/views' doesn't exist or if they don't contain
> any specs, the spec usage is printed.
That's been bugging me too, but I've been too lazy to do anything
about it until you asked.
I've just committed a fix on trunk (in the rspec rake task in rspec
core). You'll have to build and install the rspec gem until a new
release is made.
> In my case I didn't have a views directory. I was able to get rid of the
> usage output by creating the views directory and adding a blank spec. It'd
> be convenient if RSpec would ignore missing/empty spec directories.
> BTW, thanks for the cool tool.
> Micah Martin
> 8th Light, Inc.
> Rspec-users mailing list
> Rspec-users at rubyforge.org
More information about the Rspec-users