[rspec-users] RSpec-rails 1.2.2: autospec passes but "rake spec" fails

Mark Wilden mark at mwilden.com
Wed Mar 25 18:58:40 EDT 2009


On Wed, Mar 25, 2009 at 2:49 PM, Tadatoshi Takahashi
<lists at ruby-forum.com> wrote:
> Stephen Eley wrote:
>> On Wed, Mar 25, 2009 at 3:29 PM, Tadatoshi Takahashi
>> <lists at ruby-forum.com> wrote:
>>>
>>> P.S.
>>> It seems that autospec is run against test database and that "rake spec"
>>> is run against development database.
>
> Is there any other place where that RAILS_ENV is getting set?

Check the rakefiles? Could someone have "improved" one? It happened to me.

///ark


More information about the rspec-users mailing list