Chris Olsen
2008-Apr-07 13:34 UTC
[rspec-users] How can you delete unused view helper files?
I would like to delete most of the view helper files from my project. Unfortunately, when I try to run my tests it throws an error saying that one of the files is missing. I find that all the non-required helper files clutter things up. Is there any way to remove them and still have your tests pass? Thanks. -- Posted via http://www.ruby-forum.com/.
Scott Taylor
2008-Apr-07 13:42 UTC
[rspec-users] How can you delete unused view helper files?
On Apr 7, 2008, at 9:34 AM, Chris Olsen wrote:> I would like to delete most of the view helper files from my project. > Unfortunately, when I try to run my tests it throws an error saying > that > one of the files is missing.Warning? What does it say? Are you throwing away the helper *AND* the spec for that helper? Scott> > > I find that all the non-required helper files clutter things up. Is > there any way to remove them and still have your tests pass? > > Thanks. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Chris Olsen
2008-Apr-07 13:51 UTC
[rspec-users] How can you delete unused view helper files?
Scott Taylor wrote:> On Apr 7, 2008, at 9:34 AM, Chris Olsen wrote: > >> I would like to delete most of the view helper files from my project. >> Unfortunately, when I try to run my tests it throws an error saying >> that >> one of the files is missing. > > Warning? What does it say? > > Are you throwing away the helper *AND* the spec for that helper? > > ScottSorry I never posted back in time. I had a helper file hiding on me in the spec/helpers dir which was what was trying to load the corresponding app/helpers file. I had deleted them all a while ago, but it seems that one got re-created on a generate script. This is what happens when you are out of coffee grounds. :) Thanks for the help. -- Posted via http://www.ruby-forum.com/.