public
Fork of dchelimsky/rspec
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/jdelStrother/rspec.git
Clear fixture cache in drb server

Fixtures need to be reloaded when the application is reset in spec_server
Jonathan del Strother (author)
Mon Mar 17 04:15:55 -0700 2008
commit  850f15678f897ca032727f2e0ad4732f393ef1f1
tree    cc1af57cb2fa2d6608743bb89a9ead4c16750765
parent  e6812e0a7047ca412a1f4109a4bf89695f42a510
...
33
34
35
 
 
36
37
38
...
33
34
35
36
37
38
39
40
0
@@ -33,6 +33,8 @@ module Spec
0
         else
0
           raise "Application reloading failed"
0
         end
0
+        Fixtures.reset_cache if Object.const_defined?(:Fixtures)
0
+        
0
         ::Dependencies.mechanism = :load
0
         require_dependency('application.rb') unless Object.const_defined?(:ApplicationController)
0
         load File.dirname(__FILE__) + '/../spec/spec_helper.rb'

Comments