[rspec-users] spec_server not reloading model classes
scott at railsnewbie.com
Sun Mar 29 03:12:46 EDT 2009
Andrew Vit wrote:
> I'm using the latest rspec-rails 1.2.2 with rails 2.3.2, and I'm
> trying to get it to work with spec_server. This is on Mac/Leopard,
> with the stock ruby, all gems installed in /Library/Ruby/. I have
> # config/environments/test.rb
> config.cache_classes = false
> # spec/spec.opts
Do you notice reloading occurring in dev mode (with cache-classes =
false) with the same class?
Are you explicitly using require anywhere?
> The tests run nice and fast, so I know they're running against the
> spec_server, but when I make a change to my model which should toggle
> the result of a test, it doesn't change until I restart the
> spec:server. I have tried running it with combinations of:
> rake spec:server:start
> The specs run, but no reloading makes it useless. Any ideas?
> Andrew Vit
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users