[rspec-users] autospec is not picking latest changes

Matt Wynne matt at mattwynne.net
Tue Sep 16 15:41:08 EDT 2008


try script/autospec instead - I always use that these days. not sure  
what the difference is.
On 16 Sep 2008, at 20:20, Luis Lavena wrote:

> On Tue, Sep 16, 2008 at 4:18 PM, Luis Lavena <luislavena at gmail.com>  
> wrote:
>> Hey Guys.
>>
>> I just updated a project form 1.1.4 that was working with autotest
>> 3.10 without issues:
>>
>> 1) Updated spec/model/project_spec.rb and it fired only that spec.
>> 2) Updated app/model/project.rb and it fired only the matching  
>> spec file.
>>
>> After the update of rspec and rspec-rails as plugins a few minutes
>> ago, it only run the controller specs and no other. Also, it doesn't
>> matter which file I change, always run the same set of controller +
>> model files.
>>
>
> Forgot to include environment information:
>
> Rails 2.1.1
> ZenTest 3.10.0
>
> rspec, 3b3a59313097efceb9f9e4e400e1e87f6531f304
> rspec-rails, 5bb22b4d6b01f3b88c0e54730157855572eb40aa
>
> Ruby 1.8.6, patchlevel 114 (i386-mingw32)
>
> Also tested with i386-mswin32, with same results.
>
> -- 
> Luis Lavena
> AREA 17
> -
> Human beings, who are almost unique in having the ability to learn  
> from
> the experience of others, are also remarkable for their apparent
> disinclination to do so.
> Douglas Adams
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

cheers,
Matt
----
http://blog.mattwynne.net
http://songkick.com

In case you wondered: The opinions expressed in this email are my own  
and do not necessarily reflect the views of any former, current or  
future employers of mine.





More information about the rspec-users mailing list