public
Description: Webrat - Ruby Acceptance Testing for Web applications
Homepage: http://gitrdoc.com/brynary/webrat/tree/master/
Clone URL: git://github.com/brynary/webrat.git
Caching the config should actually cache the config
joshknowles (author)
Sun Nov 16 21:43:08 -0800 2008
brynary (committer)
Tue Nov 18 17:32:27 -0800 2008
commit  95604d6320fc145584081042b698e07635ae7cb4
tree    1be67ae5ffa3abac5ddc7c21f225ad367879292c
parent  5ee4357cd69fb14057729301a8b6328efca60134
...
18
19
20
21
 
22
23
 
24
25
 
26
27
28
...
18
19
20
 
21
22
 
23
24
 
25
26
27
28
0
@@ -18,11 +18,11 @@ end
0
 
0
 module Webrat
0
   @@previous_config = nil
0
-  
0
+
0
   def self.cache_config_for_test
0
-    @@configuration = Webrat.configuration
0
+    @@previous_config = Webrat.configuration.clone
0
   end
0
-  
0
+
0
   def self.reset_for_test
0
     @@configuration = @@previous_config if @@previous_config
0
   end

Comments

gaffo Wed Nov 19 15:45:02 -0800 2008

Man, how’d I miss that one?