[rspec-users] rake spec loads development environment

2008-08-19 Thread Satish Gunnu
Hi, I am new to rspec and started implementing it on my project yesterday. I have followed the instructions and installed rspec gem and rspec plugin into my project. I created couple of sample stories and tried running the specs using spec command which worked fine, but when I started using rake

Re: [rspec-users] rake spec loads development environment

2008-08-19 Thread Satish Gunnu
development but not test. To answer your second questions, I am not including it from my spec files. BTW I am using rpsec 1.1.4 and rails 2.1.0. Sorry for not being elaborate in my prev post. Thanks, SatishG. David Chelimsky wrote: > On Aug 19, 2008, at 1:05 PM, Satish Gunnu <[EMAIL PRO

Re: [rspec-users] rake spec loads development environment

2008-08-19 Thread Satish Gunnu
Yes I think that is what's happening in my case. is this how it is supposed to work? or can we have rspec ignore the step to look at development environment. thanks so much for all your help. > iirc, it looks at the development environment to prepare the db > schema, but still runs the specs in

Re: [rspec-users] rake spec loads development environment

2008-08-19 Thread Satish Gunnu
Awesome. Thanks guys. Appreciate your help. Mark Wilden wrote: > On Tue, Aug 19, 2008 at 2:08 PM, Jonathan Linowes > <[EMAIL PROTECTED]>wrote: > >> >> you'll notice that vendor/plugins/rspec-rails/rspec.rake contains the line >> >> spec_prereq = File.exist?(File.join(RAILS_ROOT, 'config', 'datab