This thread has been dead for awhile, but I'm having the same issue. I
don't have a bash variable set. I'm also having this issue with
Cucumber. It always runs in development mode.
If I put "p Rails.env" in spec_helper.rb:8 (after spec_helper already
declares ENV["RAILS_ENV"] ||= "test") and
Mark Wilden wrote in post #816031:
> On Tue, Aug 19, 2008 at 2:35 PM, Jonathan Linowes
> wrote:
>
>>
>>rake spec RAILS_ENV=production
>>
>> that way the db:test:prepare uses the production db rather than the
>> development one
>
>
> I know this thread is long dead but ... you must be joking.
>
On Tue, Aug 19, 2008 at 2:35 PM, Jonathan Linowes
wrote:
>
>rake spec RAILS_ENV=production
>
> that way the db:test:prepare uses the production db rather than the
> development one
I know this thread is long dead but ... you must be joking.
///ark
___
On Wed, May 13, 2009 at 9:59 PM, Matthew Isleb wrote:
> I know this thread is long dead, but I'm finding that I have the same
> problem. 'rake spec:modles' loads the development environment and
> clobbers my development database. I have to run set RAILS_ENV=test in
> order for the tests to run cor
I know this thread is long dead, but I'm finding that I have the same
problem. 'rake spec:modles' loads the development environment and
clobbers my development database. I have to run set RAILS_ENV=test in
order for the tests to run correctly.
Commenting out that rake task line does not solve t
On Aug 19, 2008, at 5:08 PM, Jonathan Linowes wrote:
On Aug 19, 2008, at 4:32 PM, Satish Gunnu wrote:
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
Done
On Tue, Aug 19, 2008 at 4:09 PM, Mark Wilden <[EMAIL PROTECTED]> wrote:
>> http://rspec.rubyforge.org/documentation/rails/install.html
>
>
> I sure wish someone would take that page down - it's caused me more than my
> share of grief.
>
> ///ark
>
> ___
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
>
> http://rspec.rubyforge.org/documentation/rails/install.html
>
I sure wish someone would take that page down - it's caused me more than my
share of grief.
///ark
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/lis
On Tue, Aug 19, 2008 at 3:08 PM, Satish Gunnu <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> Most of my knowledge came from peepcode rspec screencast and the
> following link.
> http://rspec.rubyforge.org/documentation/rails/install.html
>
> Here are the steps I have done to get going.
>
> 1) Install
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', 'database.yml'))
> ? "db:test:prepare" : :noop
>
> which you could change or comm
On Aug 19, 2008, at 4:32 PM, Satish Gunnu wrote:
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.
you'll notice that vendor/plugins/rspec-rails/rspec.
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
On Aug 19, 2008, at 2:05 PM, Satish Gunnu wrote:
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
Hi David,
Most of my knowledge came from peepcode rspec screencast and the
following link.
http://rspec.rubyforge.org/documentation/rails/install.html
Here are the steps I have done to get going.
1) Installed rspec gem
2) Installed rspec plugin in my project
3) created a test_spec.rb file
On Aug 19, 2008, at 1:05 PM, Satish Gunnu <[EMAIL PROTECTED]> wrote:
Hi,
I am new to rspec and started implementing it on my project
yesterday.
I have followed the instructions
What instructions?
and installed rspec gem and rspec
plugin into my project. I created couple of sample storie
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
17 matches
Mail list logo