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. 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. www.8thlight.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20061004/7def3e0d/attachment.html
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. > > 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.Thanks for this request. I added a feature request to the tracker at rubyforge: http://rubyforge.org/tracker/index.php?func=detail&aid=6017&group_id=797&atid=3152 Feel free to put feature requests, bugs, etc directly up there.> > BTW, thanks for the cool tool.You''re welcome!
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. > www.8thlight.com > > > > > _______________________________________________ > Rspec-users mailing list > Rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > >
On 10/4/06, David Chelimsky <dchelimsky at gmail.com> wrote:> 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. > > > > 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. > > Thanks for this request. I added a feature request to the tracker at rubyforge: > > http://rubyforge.org/tracker/index.php?func=detail&aid=6017&group_id=797&atid=3152 >Fixed and closed A> Feel free to put feature requests, bugs, etc directly up there. > > > > > BTW, thanks for the cool tool. > > You''re welcome! > _______________________________________________ > Rspec-users mailing list > Rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >