[rspec-users] spec_server and re-loads of files

Scott Taylor scott at railsnewbie.com
Wed Jan 14 18:55:33 EST 2009


On Jan 14, 2009, at 6:10 PM, Matt Wynne wrote:

>
> On 14 Jan 2009, at 20:17, Mark Wilden wrote:
>
>> On Wed, Jan 14, 2009 at 12:05 PM, Matt Wynne <matt at mattwynne.net>  
>> wrote:
>> I got spec_server working today, and was literally ecstatic about  
>> the speed of response from running a spec. Yelps and all-sorts,  
>> very un-British, I can tell you ;)
>>
>> However I'm starting to notice that it doesn't seem to be picking  
>> up changes. I'm working on a helper function at the moment, and I  
>> get a different (old) test failure from spec -X as I do from  
>> straight up, slow old spec.
>>
>>
>> Make sure you have
>>
>> config.cache_classes = false
>>
>> in test.rb..
>
> Yes!
>
> ... but it appears to totally bork the features, at least on our  
> build server. Anyone else had this problem, and got a workaround?

Don't version control config/environments/test.rb.  Keep around config/ 
environments/test.rb.example, and copy it to test.rb after check out.

Scott



More information about the rspec-users mailing list