David Chelimsky wrote: > On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni <li...@ruby-forum.com> > wrote: >>>> script/spec spec/controllers/channels_controller_spec1.rb >>> >>> Hey It worked thanks a lot. :-) >>> >>> Can you tell me the difference why it was not running earlier and now it >>> is running.Just for my understanding. >> >> It is not the case that i will always run spec from the root project.So >> if i want to run from spec/controllers direcrtory then what should i do >> since i am getting the error. > > Unfortunately, you're going to have to run it from the project root > because that's the only it works, apparently. You can file a bug > report at http://rspec.lighthouseapp.com if you're interested. > > Cheers, > David
Thank a lot. But is the case that all controller specs are run from the root directory. I had had written spec models and it runs fine from inside the spec directory. I will sure file a ticket on the site u mentioned. Also it will be good if i get to know the reason behind this :-) -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users